Pytorch C++ - view_out?

I need to reshape my tensor but I dont want to create a new tensor out of it and allocate memory. How do I do this? I want to keep the same memory ordered in the same way