torch.sym_int(a)
SymInt-aware utility for int casting.
a (SymInt, SymFloat, or object) – Object to cast
© 2024, PyTorch ContributorsPyTorch has a BSD-style license, as found in the LICENSE file. https://pytorch.org/docs/2.1/generated/torch.sym_int.html