Adding support for 0-d tensor for transpose (.t()) (#17535)
Summary:
- Test updates
1. test_torch: added 0-d test case and t_() test cases
2. test_jit : updated error message for TestAsync.test_async_script_error
- Updating documentation for torch.t()
Adding information regarding new support of 0-D and 1-D tenso
Fixes #17520
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17535
Differential Revision:
D14269984
Pulled By: gchanan
fbshipit-source-id:
38b723f31484be939261c88edb33575d242eca65