Getting Started
Language Reference
Programming Guide
triton.
reshape
Tries to reshape the given block to a new shape.
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