粒度¶ class torch.ao.quantization.observer.Granularity[源][源]¶ 表示量化粒度的基类。 此类作为量化操作中使用的特定粒度类型(例如逐 Tensor 或逐轴量化)的父类。