# tensorflow::ops::MaxPool3DGrad::Attrs Struct Reference

# tensorflow::
ops::
MaxPool3DGrad::
Attrs

`
#include <nn_ops.h>
`


Optional attribute setters for
[MaxPool3DGrad](https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/max-pool3-d-grad#classtensorflow_1_1ops_1_1_max_pool3_d_grad)
.

## Summary

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

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

## Public attributes

### data_format_

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

## Public functions

### DataFormat

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