mlx.core.array.transpose#

array.transpose(self: array, *args, stream: Union[None, Stream, Device] = None) array#

Equivalent to transpose() but the axes can be passed either as a tuple or as separate arguments.

See transpose() for full documentation.