评价此页

torch.Tensor.q_scale#

Tensor.q_scale() float#

给定一个通过线性(仿射)量化量化的张量,返回底层量化器() 的尺度。