torch.sym_float¶ torch.sym_float(a)[源码][源码]¶ SymInt 感知的浮点类型转换工具函数。 参数 a (SymInt、SymFloat 或 object) – 要转换的对象