torch.sym_float

torch.sym_float(a)[源代码]

用于浮点转换的支持SymInt的工具。

参数

a (SymInt, SymFloat, 或 对象) – 需要进行转换的目标对象

本页目录