cupy.transpose¶
-
cupy.transpose(a, axes=None)[source]¶ Permutes the dimensions of an array.
- Parameters
a (cupy.ndarray) – Array to permute the dimensions.
axes (tuple of ints) – Permutation of the dimensions. This function reverses the shape by default.
- Returns
A view of
athat the dimensions are permuted.- Return type
See also