Rate this Page

PerTensor#

class torch.ao.quantization.observer.PerTensor[source]#

Represents per-tensor granularity in quantization.

This granularity type calculates the quantization parameters based off the entire tensor.