pytorch
e574c2c0 - [quant][fx] Validate qconfig_dict keys (#58566)

Commit
3 years ago
[quant][fx] Validate qconfig_dict keys (#58566) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/58566 Validates the keys of the qconfig_dict, prepare_custom_config_dict, convert_custom_config_dict, and fuse_custom_config_dict. If the user passes in an invalid key or makes a type, we will throw and error and let the user know what keys are supported. Test Plan: Imported from OSS python test/test_quantization.py Reviewed By: jerryzh168 Differential Revision: D28540923 fbshipit-source-id: 5958c32017b7d16abd219aefc8e92c42543897c2
Author
Parents
Loading