评价此页

torch.sym_float#

torch.sym_float(a)[源码]#

SymInt 感知的浮点类型转换工具。

参数

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