评价此页

torch.Tensor.int_repr#

Tensor.int_repr() Tensor#

给定一个量化张量,self.int_repr() 返回一个 CPU 张量,其数据类型为 uint8_t,用于存储给定张量的底层 uint8_t 值。