Fix docs rendering for nn.Module.named_modules() (#70491)
Summary:
The documentation rendering for nn.Module.named_modules() is a bit broken, see the description of the last argument [here](https://pytorch.org/docs/stable/generated/torch.nn.Module.html#torch.nn.Module.named_modules).
This PR fixes that.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70491
Reviewed By: mikaylagawarecki
Differential Revision: D33349882
Pulled By: albanD
fbshipit-source-id: a46327c12e8114f7ef2055a8518c4ca9d186e669