get_custom_module_class_keys
- class torch.ao.quantization.fx.utils.get_custom_module_class_keys(custom_module_mapping)
Get all the unique custom module keys in the custom config dict.
Example input:
{ QuantType.STATIC: {
Get all the unique custom module keys in the custom config dict.
Example input:
{
QuantType.STATIC: {
Example output:
# extract the keys across all inner STATIC, DYNAMIC, and WEIGHT_ONLY dicts
[CustomModule1, CustomModule2, CustomModule3]