type check for torch.quantization.observer (#45630)
Summary:
add type checker for observer
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45630
Reviewed By: malfet
Differential Revision: D24058304
Pulled By: walterddr
fbshipit-source-id: ac1c0f5ff0d34b0445bd1364653fc5c9d7571b05