Hi,
It should be mentioned in the doc.

view never allocates memory (but only works on contiguous Tensor)
permute never allocates memory (but returns a non-contiguous Tensor)
contiguous allocates only if the input is non-contiguous. Otherwise it is a no-op.