Files
pytorch/torch/quantization/qconfig.py
HDCharles 6fe4ccc7cb [ao] qconfig.py fix public v private (#87515)
Summary: made is_reuse_input_qconfig, _activation_is_memoryless,
_partial_wrapper_equals, _obs_or_fq_ctr_equals,
_add_module_to_qconfig_obs_ctr, _assert_valid_qconfig private

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D40709280](https://our.internmc.facebook.com/intern/diff/D40709280)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/87515
Approved by: https://github.com/jcaip
2022-11-09 22:30:03 +00:00

31 lines
909 B
Python

# flake8: noqa: F401
r"""
This file is in the process of migration to `torch/ao/quantization`, and
is kept here for compatibility while the migration process is ongoing.
If you are adding a new entry/functionality, please, add it to the
`torch/ao/quantization/qconfig.py`, while adding an import statement
here.
"""
from torch.ao.quantization.qconfig import (
QConfig,
default_qconfig,
default_debug_qconfig,
default_per_channel_qconfig,
QConfigDynamic,
default_dynamic_qconfig,
float16_dynamic_qconfig,
float16_static_qconfig,
per_channel_dynamic_qconfig,
float_qparams_weight_only_qconfig,
default_qat_qconfig,
default_weight_only_qconfig,
default_activation_only_qconfig,
default_qat_qconfig_v2,
get_default_qconfig,
get_default_qat_qconfig,
_assert_valid_qconfig,
QConfigAny,
_add_module_to_qconfig_obs_ctr,
qconfig_equals
)