Enable all dtype combinations in `torch.Tensor.view(dtype)` (#66493)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/29013
Note: This PR does not enable autograd. This can be done in a future PR.
cc mruberry rgommers
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66493
Reviewed By: gchanan
Differential Revision: D32314680
Pulled By: mruberry
fbshipit-source-id: 69d325573b2331f32b83c05c91ffbe80571e7ae2