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

Selection of a single tensor dimension.

## Fields
#### `dimension`
Type: non-null `UInt32`

The dimension number to select.

#### `invert`
Type: non-null `Boolean`

Invert the direction of the dimension.


## Arrow datatype
```
Struct(
    "dimension": non-null UInt32
    "invert": non-null Boolean
)
```

## API reference links
 * 🌊 [C++ API docs for `TensorDimensionSelection`](https://ref.rerun.io/docs/cpp/stable/structrerun_1_1datatypes_1_1TensorDimensionSelection.html)
 * 🐍 [Python API docs for `TensorDimensionSelection`](https://ref.rerun.io/docs/python/stable/common/datatypes#rerun.datatypes.TensorDimensionSelection)
 * 🦀 [Rust API docs for `TensorDimensionSelection`](https://docs.rs/rerun/latest/rerun/datatypes/struct.TensorDimensionSelection.html)


## Used by

* [`TensorHeightDimension`](../components/tensor_height_dimension.md)
* [`TensorWidthDimension`](../components/tensor_width_dimension.md)
