[quant][fx][improvement] Add lowering support for FixedQParamsOpQuantizeHandler (#72488)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72488
This is an effort to move the current implementation towards the reference quantized model design:
https://github.com/pytorch/rfcs/blob/master/RFC-0019-Extending-PyTorch-Quantization-to-Custom-Backends.md
so that we use reference model in the default fbgemm/qnnpack path
Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
Imported from OSS
Reviewed By: vkuzo
Differential Revision: D34062364
fbshipit-source-id: 50c4a86644c3f5f6fb03d2a98aa7376895c0fc84
(cherry picked from commit ed8122e44d4ce9975ee8afeb914683ae226438b9)