Solved by LeviViana in post #2 
              
              
                I’m not sure I fully understood your question, but I’ll try to answer: 
import torch
x = torch.randn(4, 4)
y = x.view(2,-1)
print(x.data_ptr() == y.data_ptr()) # prints True
y = x.clone().view(2,-1)
print(x.data_ptr() == y.data_ptr()) # prints False

But it doesn’t work if you are interested in comp…