Shortcuts

ObservationType

class torch.ao.quantization.backend_config.ObservationType(value)[source]

An enum that represents different ways of how an operator/operator pattern should be observed

INPUT_OUTPUT_NOT_OBSERVED = 2

this means the input and output are never observed example: x.shape, x.size

OUTPUT_SHARE_OBSERVER_WITH_INPUT = 1

this means the output will use the same observer instance as input, based on qconfig.activation example: torch.cat, maxpool

OUTPUT_USE_DIFFERENT_OBSERVER_AS_INPUT = 0

this means input and output are observed with different observers, based on qconfig.activation example: conv, linear, softmax

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