torch.sym_int torch.sym_int(a) [source] SymInt-aware utility for int casting. Parameters a (SymInt, SymFloat, or object) – Object to cast