# tensorflow::ops::DepthToSpace::Attrs

`#include <array_ops.h>`

Optional attribute setters for [DepthToSpace](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/depth-to-space#classtensorflow_1_1ops_1_1_depth_to_space).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/depth-to-space/attrs#structtensorflow_1_1ops_1_1_depth_to_space_1_1_attrs_1a43e347a2c6fb03eb267657090870daa7 = "NHWC"` | `StringPiece` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/depth-to-space/attrs#structtensorflow_1_1ops_1_1_depth_to_space_1_1_attrs_1ad655bb51e58a37d58de60a38a952fbbe(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/depth-to-space/attrs#structtensorflow_1_1ops_1_1_depth_to_space_1_1_attrs` Defaults to "NHWC". |

## Public attributes

### data_format_

```
StringPiece tensorflow::ops::DepthToSpace::Attrs::data_format_ = "NHWC"
```

## Public functions

### DataFormat

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::DepthToSpace::Attrs::DataFormat(
  StringPiece x
)
```
Defaults to "NHWC".