jax.experimental.pallas.Squeezed#
- class jax.experimental.pallas.Squeezed[source]#
Selects a single element along a dimension and squeezes the axis out.
index_mapreturns a scalar indexi, indexing[i]along this dimension rather than slicing[i : i + 1].block_shape=(Squeezed(), 4), index_map -> (2, 0) array (4, 4): ref (4,): . . . . . . . . -> [a b c d] a b c d . . . .- __init__()#
- Return type:
None
Methods
__init__()