# tensorflow::ops::GatherV2::Attrs Struct Reference

# tensorflow::ops::GatherV2::Attrs

`#include <array_ops.h>`

Optional attribute setters for [GatherV2](https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/gather-v2#classtensorflow_1_1ops_1_1_gather_v2).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/gather-v2/attrs#structtensorflow_1_1ops_1_1_gather_v2_1_1_attrs_1a707d0ba637eff2a7a5b670f2234bb168 = 0` | `int64` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/gather-v2/attrs#structtensorflow_1_1ops_1_1_gather_v2_1_1_attrs_1a9ef4ff491d2677cbc35522efa7385031(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/gather-v2/attrs#structtensorflow_1_1ops_1_1_gather_v2_1_1_attrs` Defaults to 0. |

## Public attributes

### batch_dims_

```
int64 tensorflow::ops::GatherV2::Attrs::batch_dims_ = 0
```

## Public functions

### BatchDims

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::GatherV2::Attrs::BatchDims(
  int64 x
)
```
Defaults to 0.