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