warp.tile_reshape#

warp.tile_reshape(
t: Tile[Any, tuple[int, ...]],
shape: tuple[int, ...],
) Tile[Any, tuple[int, ...]]#
  • Kernel

  • Differentiable

Create a reshaped view of a tile with the same data.

Parameters:
  • t – Input tile to reshape

  • shape – New shape for the tile

Returns:

A tile containing the same data as the input tile, but arranged in a new shape.