added example to clear ambiguity in torch.Tensor.view (#16563)
Summary:
Added example to the documentation of [torch.Tensor.view](https://pytorch.org/docs/stable/tensors.html#torch.Tensor.view) to avoid the misunderstanding referenced in issue [#16560](https://github.com/pytorch/pytorch/issues/16560)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16563
Differential Revision: D13885008
Pulled By: soumith
fbshipit-source-id: b7e7fbea1f16124bc4e679ae9c50ab619e1f043d
Author
ParticularlyPythonicBS