xref: /aosp_15_r20/external/pytorch/torch/quantization/qconfig.py (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1*da0073e9SAndroid Build Coastguard Worker# flake8: noqa: F401
2*da0073e9SAndroid Build Coastguard Workerr"""
3*da0073e9SAndroid Build Coastguard WorkerThis file is in the process of migration to `torch/ao/quantization`, and
4*da0073e9SAndroid Build Coastguard Workeris kept here for compatibility while the migration process is ongoing.
5*da0073e9SAndroid Build Coastguard WorkerIf you are adding a new entry/functionality, please, add it to the
6*da0073e9SAndroid Build Coastguard Worker`torch/ao/quantization/qconfig.py`, while adding an import statement
7*da0073e9SAndroid Build Coastguard Workerhere.
8*da0073e9SAndroid Build Coastguard Worker"""
9*da0073e9SAndroid Build Coastguard Workerfrom torch.ao.quantization.qconfig import (
10*da0073e9SAndroid Build Coastguard Worker    _add_module_to_qconfig_obs_ctr,
11*da0073e9SAndroid Build Coastguard Worker    _assert_valid_qconfig,
12*da0073e9SAndroid Build Coastguard Worker    default_activation_only_qconfig,
13*da0073e9SAndroid Build Coastguard Worker    default_debug_qconfig,
14*da0073e9SAndroid Build Coastguard Worker    default_dynamic_qconfig,
15*da0073e9SAndroid Build Coastguard Worker    default_per_channel_qconfig,
16*da0073e9SAndroid Build Coastguard Worker    default_qat_qconfig,
17*da0073e9SAndroid Build Coastguard Worker    default_qat_qconfig_v2,
18*da0073e9SAndroid Build Coastguard Worker    default_qconfig,
19*da0073e9SAndroid Build Coastguard Worker    default_weight_only_qconfig,
20*da0073e9SAndroid Build Coastguard Worker    float16_dynamic_qconfig,
21*da0073e9SAndroid Build Coastguard Worker    float16_static_qconfig,
22*da0073e9SAndroid Build Coastguard Worker    float_qparams_weight_only_qconfig,
23*da0073e9SAndroid Build Coastguard Worker    get_default_qat_qconfig,
24*da0073e9SAndroid Build Coastguard Worker    get_default_qconfig,
25*da0073e9SAndroid Build Coastguard Worker    per_channel_dynamic_qconfig,
26*da0073e9SAndroid Build Coastguard Worker    QConfig,
27*da0073e9SAndroid Build Coastguard Worker    qconfig_equals,
28*da0073e9SAndroid Build Coastguard Worker    QConfigAny,
29*da0073e9SAndroid Build Coastguard Worker    QConfigDynamic,
30*da0073e9SAndroid Build Coastguard Worker)
31