[quant][graphmode][fx] Add support for general shape ops (#43438)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43438
Porting op tests from test_quantize_jit.py
Test Plan:
TestQuantizeFxOps
Imported from OSS
Reviewed By: raghuramank100
Differential Revision: D23278583
fbshipit-source-id: 34b73390d47c7ce60528444da77c4096432ea2cb