transpose(x, axes=None, f=None)¶
Permutes the dimensions of an array.
x (array) – Input array.
axes (sequence of ints of length N) – By default, reverse the dimensions, otherwise permute the axes according to the values given.
f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.
x with its axes permuted.