triton.reshape

triton.reshape(input, shape, builder=None)

Reshapes a block to a new shape. :param builder: IR builder to generate code into, optional from within @triton.jit functions :type builder: triton.ir.builder