triton.language.broadcast_to

triton.language.broadcast_to(input, shape)

Tries to broadcast the given block to a new shape.

Parameters
  • input (Block) – The input block.

  • shape (Tuple[int]) – The desired shape.