# tensorflow::ops::MaxPoolGradGradWithArgmax::Attrs Struct Reference

# tensorflow::
ops::
MaxPoolGradGradWithArgmax::
Attrs

`
#include <nn_ops.h>
`


Optional attribute setters for
[MaxPoolGradGradWithArgmax](https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/max-pool-grad-grad-with-argmax#classtensorflow_1_1ops_1_1_max_pool_grad_grad_with_argmax)
.

## Summary

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/max-pool-grad-grad-with-argmax/attrs#structtensorflow_1_1ops_1_1_max_pool_grad_grad_with_argmax_1_1_attrs_1ae4a64a2f9facd6822d3cfc4f5e133cee = false ` | ` bool ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/max-pool-grad-grad-with-argmax/attrs#structtensorflow_1_1ops_1_1_max_pool_grad_grad_with_argmax_1_1_attrs_1a18fe9791479d59f3ec88b432b8813e61 (bool x) ` | ` TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/max-pool-grad-grad-with-argmax/attrs#structtensorflow_1_1ops_1_1_max_pool_grad_grad_with_argmax_1_1_attrs ` Whether to include batch dimension in flattened index of ` argmax ` . |

## Public attributes

### include_batch_in_index_

```
bool tensorflow::ops::MaxPoolGradGradWithArgmax::Attrs::include_batch_in_index_ = false
```

## Public functions

### IncludeBatchInIndex

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolGradGradWithArgmax::Attrs::IncludeBatchInIndex(
  bool x
)
```

Whether to include batch dimension in flattened index of
`
argmax
`
.


Defaults to false