legate.core.LogicalArray.transpose#

LogicalArray.transpose(self, axes) LogicalArray#

Get a transpose of the array. This call may block if the array is unbound.

Parameters:

axes (Collection[int]) – A mapping from dimension of the input array to dimension of the output array.

Returns:

The transposed array.

Return type:

LogicalArray

Raises:

ValueError – If axes is not iterable.