Table of Contents
Shortcuts

# ObservationType

class torch.ao.quantization.backend_config.ObservationType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

  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

To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. As the current maintainers of this site, Facebook’s Cookies Policy applies. Learn more, including about available controls: Cookies Policy.