[Qunat] Refactor reference module mapping (#72755)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72755
Add is_refernece flag in convert function
Test Plan:
python3 test/test_quantization.py TestQuantizeEagerOps.test_conv_transpose_2d
Imported from OSS
Reviewed By: mruberry
Differential Revision: D34188856
fbshipit-source-id: 291014a7b3b4d4b40ca0ca76a80711097dcc4b58
(cherry picked from commit cfba3b8dc0373708712c0d847d590f0d587df002)