评价此页

torch.Tensor.q_per_channel_zero_points#

Tensor.q_per_channel_zero_points() Tensor#

对于通过线性(仿射)每通道量化进行量化的张量,返回底层量化器的零点张量。它的元素数量与张量的相应维度(根据 q_per_channel_axis)相匹配。