warp.tile_squeeze#

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

  • Differentiable

Return a squeezed view of a tile with the same data.

param t:

Input tile to squeeze

param axis:

A subset of the entries of length one in the shape (optional)

returns:

The input tile but with all or a subset of the dimensions of length one removed.