---
title: "TensorDimensionIndexSelection"
---
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/website.rs -->

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`](https://ref.rerun.io/docs/cpp/stable/structrerun_1_1datatypes_1_1TensorDimensionIndexSelection.html)
 * 🐍 [Python API docs for `TensorDimensionIndexSelection`](https://ref.rerun.io/docs/python/stable/common/datatypes#rerun.datatypes.TensorDimensionIndexSelection)
 * 🦀 [Rust API docs for `TensorDimensionIndexSelection`](https://docs.rs/rerun/latest/rerun/datatypes/struct.TensorDimensionIndexSelection.html)


## Used by

* [`TensorDimensionIndexSelection`](../components/tensor_dimension_index_selection.md)
