triton.language.reshape¶
-
triton.language.
reshape
(input, shape, builder=None)¶ Tries to reshape the given block to a new shape.
- Parameters
input – The input block.
shape (Tuple[int]) – The desired shape.
builder (triton.ir.builder, optional from within JIT'ed functions) – IR builder to generate code into