The broadcast_to function#

Aliases#

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

Broadcast operand to new shape.

Parameters:
  • operand – The input of the operation.

  • new_shape – The new shape to broadcast to.

Returns:

operator – The halerium Operator representing the operation.

Return type:

halerium.core.operator.BroadcastTo