# tensorflow::ops::AvgPool3DGrad::Attrs Struct Reference

# tensorflow::ops::AvgPool3DGrad::Attrs

`#include <nn_ops.h>`

Optional attribute setters for [AvgPool3DGrad](https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/avg-pool3-d-grad#classtensorflow_1_1ops_1_1_avg_pool3_d_grad).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/avg-pool3-d-grad/attrs#structtensorflow_1_1ops_1_1_avg_pool3_d_grad_1_1_attrs_1a5a6c933896a01f928632c2f59b4f34af = "NDHWC"` | `StringPiece` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/avg-pool3-d-grad/attrs#structtensorflow_1_1ops_1_1_avg_pool3_d_grad_1_1_attrs_1a8a241e4ab1e60afe34124d193fcca40a(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/avg-pool3-d-grad/attrs#structtensorflow_1_1ops_1_1_avg_pool3_d_grad_1_1_attrs` The data format of the input and output data. |

## Public attributes

### data_format_

```
StringPiece tensorflow::ops::AvgPool3DGrad::Attrs::data_format_ = "NDHWC"
```

## Public functions

### DataFormat

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::AvgPool3DGrad::Attrs::DataFormat(
  StringPiece x
)
```
The data format of the input and output data.

With the default format "NDHWC", the data is stored in the order of: \[batch, in_depth, in_height, in_width, in_channels\]. Alternatively, the format could be "NCDHW", the data storage order is: \[batch, in_channels, in_depth, in_height, in_width\].

Defaults to "NDHWC"