fix type check for torch.quantization._numeric_suite (#46330)
Summary:
fix https://github.com/pytorch/pytorch/issues/42977
Pull Request resolved: https://github.com/pytorch/pytorch/pull/46330
Reviewed By: malfet
Differential Revision: D24320449
Pulled By: walterddr
fbshipit-source-id: f892b5c83cb932aee53245d6c825568b3e05f3c6