MAINT Adds test and docs for Linear with no batch dims (#60992)
Summary:
Towards https://github.com/pytorch/pytorch/issues/60585
This PR updates docs for `Linear` and adds a non-batch test case to `common_nn.py`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60992
Reviewed By: VitalyFedyunin
Differential Revision: D29518451
Pulled By: jbschlosser
fbshipit-source-id: 6dd79c0f21ac5b6f693e3e1ba954379d2606d4e0