TST Adds __repr__ and str to module info (#63737)
Summary:
Follow up to https://github.com/pytorch/pytorch/pull/61935
This PR adds `test_repr` to `test_modules`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63737
Reviewed By: gchanan
Differential Revision: D30729642
Pulled By: jbschlosser
fbshipit-source-id: c11a28bc0739abd3ed40727389dd28ed4069edad