[quant][graphmode][fx][refactor] insert_observer_for_special_module (#47783)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47783
Test Plan:
python test/test_quantization.py TestQuantizeFx
Imported from OSS
Reviewed By: vkuzo
Differential Revision: D24900304
fbshipit-source-id: 11cc3dd4ea5e272209db9f3c419deadd40db5f42