[quant] add checking number of args when checking observer in same graph (#75460)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/75460
add checking for number of args checking observer in same graph
Test Plan:
python3 test/test_quantization.py TestQuantizeFxOps
Imported from OSS
Reviewed By: malfet
Differential Revision: D35479504
fbshipit-source-id: d7dc38a27fdf8e0b236b6976d484b0701c61184c
(cherry picked from commit 45542f796f5e6f6259f3ec647dbd2a9fa69ababc)