Fix doc issues (#57153)
Summary:
Fixes inconsistencies in the TorchScript Language reference.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57153
Reviewed By: zou3519, gmagogsfm
Differential Revision: D28061449
Pulled By: nikithamalgifb
fbshipit-source-id: a055c7b1417391afe00ec0b35e1042acb049feed