Rate this Page

PerBlock#

classtorch.ao.quantization.observer.PerBlock(block_size)[source]#

Represents per-block granularity in quantization. Seequantize_affine() for docs forblock_size

Variables

block_size (Tuple[int,...]) – The size of each quantization group