torch.sym_float¶ torch.sym_float(a)[source][source]¶ 用于浮点数转换的、感知 SymInt 的实用工具。 参数 a (SymInt, SymFloat, 或 object) – 要转换的对象