Im not sure about reshape.
Permute is a multidimensional rotation saying somehow. It keeps the data ordering. View (which is another reshaping method) maps from one dimensionality to another sequentially reading data from the upper dimensions to the lower ones.
So if you want fuse two dimensions into one, you have to apply it over contiguous dimensions or u will modify the data ordering