QConfigMapping
- class torch.ao.quantization.qconfig_mapping.QConfigMapping
Mapping from model ops to
torch.ao.quantization.QConfigs.The user can specify QConfigs using the following methods (in increasing match priority):
set_global: sets the global (default) QConfigset_object_type: sets the QConfig for a given module type, function, or method name