評價此頁

PerTensor#

class torch.ao.quantization.observer.PerTensor[原始碼]#

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

此粒度型別根據整個張量計算量化引數。