add type annotations to torch.nn.modules.module (#49045)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/49044
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49045
Reviewed By: malfet
Differential Revision: D25767092
Pulled By: walterddr
fbshipit-source-id: a81ba96f3495943af7bb9ee3e5fc4c94c690c405