torch.sym_int¶ torch.sym_int(a)[source][source]¶ SymInt 感知的 int 类型转换实用工具。 参数: 一个(SymInt、SymFloat 或对象)- 要转换的对象