评价此页

粒度#

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

表示量化粒度的基类。

此类是量化操作中使用的特定粒度类型的父类,例如每个张量或每个轴的量化。