The transpose function#

Aliases#

halerium.core.transpose
halerium.core.math.transpose
transpose(operand, axes=None)#

Transpose.

Parameters:
  • operand – The input to be transposed.

  • axes (None, tuple or list of ints) – The new order of the axes, specified as a permutation of (0,…,N-1), where N is the number of axes of the inputs. None defaults to (N-1,…,0), i.e. reverses the order of the axis.

Returns:

operator – The halerium Operator representing the operation.

Return type:

halerium.core.operator.Transpose