The expand_dims function#

Aliases#

halerium.core.expand_dims
halerium.core.math.expand_dims
expand_dims(operand, axis)#

Insert new axis.

Parameters:
  • operand – The input of the operation.

  • axis – The position where the new axis is placed.

Returns:

operator – The halerium Operator representing the operation.

Return type:

halerium.core.operator.ExpandDims