pytorch/docs/source/quantization-backend-configuration.rst
chronos_secgrp_pytorch_oss_ci_oncall 4817424257 2022-04-05 nightly release (b0e047b59d)
2022-04-05 00:02:42 -07:00

20 lines
610 B
ReStructuredText

Quantization Backend Configuration
----------------------------------
FX Graph Mode Quantization allows the user to configure various
quantization behaviors of an op in order to match the expectation
of their backend.
In the future, this document will contain a detailed spec of
these configurations.
Default values for native configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Below is the output of the configuration for quantization of ops
in fbgemm and qnnpack (PyTorch's default quantized backends).
Results:
.. literalinclude:: scripts/quantization_backend_configs/default_backend_config.txt