x is just a tensor. I understood same as you said about torch.Tensor.view() .
my question is from here 1.

“The returned tensor shares the same data and must have the same number of elements, but may have a different size”