评价此页

PerTensor#

class torch.ao.quantization.observer.PerTensor[source]#

Per-tensor粒度的量化表示。

此粒度类型基于整个张量计算量化参数。