Rate this Page

torch.sym_int#

torch.sym_int(a)[source]#

SymInt-aware utility for int casting.

Parameters

a (SymInt,SymFloat, orobject) – Object to cast