# tensorflow::ops::Empty::Attrs Struct Reference

# tensorflow::
ops::
Empty::
Attrs

`
#include <array_ops.h>
`


Optional attribute setters for
[Empty](https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/empty#classtensorflow_1_1ops_1_1_empty)
.

## Summary

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/empty/attrs#structtensorflow_1_1ops_1_1_empty_1_1_attrs_1adb5b1a4761d83ec50f0912bcb08f1293 = false ` | ` bool ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/empty/attrs#structtensorflow_1_1ops_1_1_empty_1_1_attrs_1a96c0e1654265db0e2bf14017a289eb09 (bool x) ` | ` TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/empty/attrs#structtensorflow_1_1ops_1_1_empty_1_1_attrs ` If True, initialize the returned tensor with the default value of dtype. |

## Public attributes

### init_

```
bool tensorflow::ops::Empty::Attrs::init_ = false
```

## Public functions

### Init

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::Empty::Attrs::Init(
  bool x
)
```

If True, initialize the returned tensor with the default value of dtype.


Otherwise, the implementation is free not to initializethe tensor's content.


Defaults to false