Rate this Page

torch.sym_float#

torch.sym_float(a)[source]#

SymInt-aware utility for float casting.

Parameters

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