Transform unbacked int expressions into a fresh unbacked int. (#141917)

Fix: #141419

This PR introduces the `torch.sym_fresh_size` API, which transforms an unbacked int
expression into a fresh unbacked int.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/141917
Approved by: https://github.com/ezyang
This commit is contained in:
Yukio Siraichi
2024-12-05 09:13:33 -03:00
committed by PyTorch MergeBot
parent c376b29c67
commit f8c212a925
5 changed files with 43 additions and 0 deletions

View File

@ -230,6 +230,7 @@ def get_ignored_functions() -> Set[Callable]:
torch.sparse_bsc_tensor,
torch.sym_constrain_range,
torch.sym_constrain_range_for_size,
torch.sym_fresh_size,
torch.tril_indices,
torch.triu_indices,
torch.vander,