Fake quantization enhancements for QAT/PTQ support (#26420)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26420
Flags for enabling/disabling observer and fake quant independently. Improve repr for fake quant.
ghstack-source-id: 90704254
Test Plan:
buck test caffe2/test:fake_quant -- --print-passing-details
buck test caffe2/test:quantization -- --print-passing-details
Differential Revision: D17458232
fbshipit-source-id: f44380c60f1a10a8ea09bca8ab79ba5d1867ed62