Add typing annotations to torch.random (#42234)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/42234
Reviewed By: ezyang
Differential Revision: D22816933
Pulled By: malfet
fbshipit-source-id: 9e2124ad16fed339abd507f6e474cb63feb7eada