评价此页

PerTensor#

class torch.ao.quantization.observer.PerTensor[源代码]#

表示量化中的逐张量粒度。

此粒度类型根据整个张量计算量化参数。