Enable type-checking of torch.nn.quantized.* modules (#43110)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/43029
I am not changing the following files in this PR:
* `torch/nn/quantized/dynamic/modules/rnn.py` due to https://github.com/pytorch/pytorch/issues/43072
* `torch/nn/quantized/modules/conv.py`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43110
Reviewed By: gchanan
Differential Revision: D23963258
Pulled By: ezyang
fbshipit-source-id: 0fb0fd13af283f6f7b3434e7bbf62165357d1f98