Indexing a specific tensor dimension.
Selecting dimension=2 and index=42 is similar to doing tensor[:, :, 42, :, :, β¦] in numpy.
Fields
dimension
Type: non-null UInt32
The dimension number to select.
index
Type: non-null UInt64
The index along the dimension to use.
Arrow datatype
Struct(
"dimension": non-null UInt32
"index": non-null UInt64
)API reference links
- π C++ API docs for
TensorDimensionIndexSelection - π Python API docs for
TensorDimensionIndexSelection - π¦ Rust API docs for
TensorDimensionIndexSelection