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