The reshape function#

Aliases#

halerium.core.reshape
halerium.core.math.reshape
reshape(operand, new_shape)#

Reshape operand to new shape.

Parameters:
  • operand – The input of the operation.

  • new_shape – The new shape to change to.

Returns:

operator – The halerium Operator representing the operation.

Return type:

halerium.core.operator.Reshape