# tensorflow::ops::AvgPool3D::Attrs Struct Reference

# tensorflow::
ops::
AvgPool3D::
Attrs

`
#include <nn_ops.h>
`


Optional attribute setters for
[AvgPool3D](https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/avg-pool3-d#classtensorflow_1_1ops_1_1_avg_pool3_d)
.

## Summary

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

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

## Public attributes

### data_format_

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

## Public functions

### DataFormat

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::AvgPool3D::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"