Shortcuts

PerBlock

class torch.ao.quantization.observer.PerBlock(block_size)[source][source]

Represents per-block granularity in quantization. See quantize_affine() for docs for block_size

Variables

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

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources