torch.tensor: add tests for list of numpy arrays case
References: https://github.com/pytorch/pytorch/issues/13918
Add more test cases for list of numpy array inputs
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72249
Approved by: https://github.com/mruberry