# tensorflow::ops::MaxPool3D::Attrs Struct Reference

# tensorflow::
ops::
MaxPool3D::
Attrs

`
#include <nn_ops.h>
`


Optional attribute setters for
[MaxPool3D](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool3-d#classtensorflow_1_1ops_1_1_max_pool3_d)
.

## Summary

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

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

## Public attributes

### data_format_

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

## Public functions

### DataFormat

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