mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Pull Request resolved: https://github.com/pytorch/pytorch/pull/86794 Approved by: https://github.com/jgong5, https://github.com/kit1980
20 lines
607 B
ReStructuredText
20 lines
607 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 x86 and qnnpack (PyTorch's default quantized backends).
|
|
|
|
Results:
|
|
|
|
.. literalinclude:: scripts/quantization_backend_configs/default_backend_config.txt
|