Fix `asarray` docs + add test case.
Follow up: #71757
- Added a range object as a test case example
- Remove `torch.as_tensor` entry from the `see also` section
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73736
Approved by: https://github.com/mruberry