评价此页

torch.sym_float#

torch.sym_float(a)[source]#

SymInt 感知的浮点数转换工具。

参数:

a (SymInt, SymFloat, 或 object) – 要转换的对象