triton.language.reshape

triton.language.reshape(input, shape)

Tries to reshape the given block to a new shape.

Parameters
  • input – The input block.

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