[doc] Fix inconsistencies with torch.linalg.inv and deprecate torch.inverse (#51672)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/51672
Test Plan: Imported from OSS
Reviewed By: mruberry
Differential Revision: D26240535
Pulled By: heitorschueroff
fbshipit-source-id: 16dbd0a8a8c0f851faa12bf092dbedfb7cb0b292