評價此頁

torch.Tensor.int_repr#

Tensor.int_repr() Tensor#

給定一個量化張量,self.int_repr() 返回一個 CPU 張量,其資料型別為 uint8_t,用於儲存給定張量的底層 uint8_t 值。