pytorch
ea81138b - [quant][improvement][better-engineering] Refactored get_supported_device_types into common_quantization.py (#79607)

Commit
2 years ago
[quant][improvement][better-engineering] Refactored get_supported_device_types into common_quantization.py (#79607) Summary: Both test_quantized_tensor.py and test_quantize_fx.py had the same get_supported_device_types function defined. This PR refactors it into the common_quantization.py file for common usage Test Plan: ``` python test/test_quantization.py ``` Differential Revision: [D37173692](https://our.internmc.facebook.com/intern/diff/D37173692) Pull Request resolved: https://github.com/pytorch/pytorch/pull/79607 Approved by: https://github.com/jerryzh168
Author
Committer
Parents
Loading