Why there is no inplace version of view?

k=torch.tensor([2,1])
k= k.view(1,2)

Something like :slight_smile:

k.view_(1,2)

I think this is mostly historical as .view() is so cheap anyway that you don’t really need to do it inplace.