torch.Tensor.q_per_channel_scales¶ Tensor.q_per_channel_scales() → Tensor¶ 給定一個透過線性(仿射)每通道量化量化的張量,返回底層量化器的尺度張量。該張量的元素數量與原張量在 q_per_channel_axis 對應維度的元素數量一致。