1# flake8: noqa: F401 2r""" 3This file is in the process of migration to `torch/ao/quantization`, and 4is kept here for compatibility while the migration process is ongoing. 5If you are adding a new entry/functionality, please, add it to the 6`torch/ao/quantization/quantization_mappings.py`, while adding an import statement 7here. 8""" 9from torch.ao.quantization.quantization_mappings import ( 10 _get_special_act_post_process, 11 _has_special_act_post_process, 12 _INCLUDE_QCONFIG_PROPAGATE_LIST, 13 DEFAULT_DYNAMIC_QUANT_MODULE_MAPPINGS, 14 DEFAULT_FLOAT_TO_QUANTIZED_OPERATOR_MAPPINGS, 15 DEFAULT_MODULE_TO_ACT_POST_PROCESS, 16 DEFAULT_QAT_MODULE_MAPPINGS, 17 DEFAULT_REFERENCE_STATIC_QUANT_MODULE_MAPPINGS, 18 DEFAULT_STATIC_QUANT_MODULE_MAPPINGS, 19 get_default_compare_output_module_list, 20 get_default_dynamic_quant_module_mappings, 21 get_default_float_to_quantized_operator_mappings, 22 get_default_qat_module_mappings, 23 get_default_qconfig_propagation_list, 24 get_default_static_quant_module_mappings, 25 get_dynamic_quant_module_class, 26 get_quantized_operator, 27 get_static_quant_module_class, 28 no_observer_set, 29) 30