tensorly.transpose

transpose(tensor)

Permute the dimensions of a tensor.

Parameters
tensortensor