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/quantize.py`, while adding an import statement 7*da0073e9SAndroid Build Coastguard Workerhere. 8*da0073e9SAndroid Build Coastguard Worker""" 9*da0073e9SAndroid Build Coastguard Worker 10*da0073e9SAndroid Build Coastguard Workerfrom torch.ao.quantization.quantize import ( 11*da0073e9SAndroid Build Coastguard Worker _add_observer_, 12*da0073e9SAndroid Build Coastguard Worker _convert, 13*da0073e9SAndroid Build Coastguard Worker _get_observer_dict, 14*da0073e9SAndroid Build Coastguard Worker _get_unique_devices_, 15*da0073e9SAndroid Build Coastguard Worker _is_activation_post_process, 16*da0073e9SAndroid Build Coastguard Worker _observer_forward_hook, 17*da0073e9SAndroid Build Coastguard Worker _propagate_qconfig_helper, 18*da0073e9SAndroid Build Coastguard Worker _register_activation_post_process_hook, 19*da0073e9SAndroid Build Coastguard Worker _remove_activation_post_process, 20*da0073e9SAndroid Build Coastguard Worker _remove_qconfig, 21*da0073e9SAndroid Build Coastguard Worker add_quant_dequant, 22*da0073e9SAndroid Build Coastguard Worker convert, 23*da0073e9SAndroid Build Coastguard Worker prepare, 24*da0073e9SAndroid Build Coastguard Worker prepare_qat, 25*da0073e9SAndroid Build Coastguard Worker propagate_qconfig_, 26*da0073e9SAndroid Build Coastguard Worker quantize, 27*da0073e9SAndroid Build Coastguard Worker quantize_dynamic, 28*da0073e9SAndroid Build Coastguard Worker quantize_qat, 29*da0073e9SAndroid Build Coastguard Worker swap_module, 30*da0073e9SAndroid Build Coastguard Worker) 31