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