# tensorflow::ops::WholeFileReader::Attrs Struct Reference

# tensorflow::
ops::
WholeFileReader::
Attrs

`
#include <io_ops.h>
`


Optional attribute setters for
[WholeFileReader](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/whole-file-reader#classtensorflow_1_1ops_1_1_whole_file_reader)
.

## Summary

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/whole-file-reader/attrs#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1ab2be51d49964dfa075607f3bfb540fa1 = "" ` | ` StringPiece ` |
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/whole-file-reader/attrs#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1ab18cd1c5a421c4f6622515a46d204d22 = "" ` | ` StringPiece ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/whole-file-reader/attrs#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1ae951ae9d878ac1752b53321de8fd6ef5 (StringPiece x) ` | ` TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/whole-file-reader/attrs#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs ` If non-empty, this reader is placed in the given container. |
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/whole-file-reader/attrs#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1a6c1247f8cc0ac84a910e5577e2bc04de (StringPiece x) ` | ` TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/whole-file-reader/attrs#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs ` If non-empty, this reader is named in the given bucket with this shared_name. |

## Public attributes

### container_

```
StringPiece tensorflow::ops::WholeFileReader::Attrs::container_ = ""
```

### shared_name_

```
StringPiece tensorflow::ops::WholeFileReader::Attrs::shared_name_ = ""
```

## Public functions

### Container

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::WholeFileReader::Attrs::Container(
  StringPiece x
)
```

If non-empty, this reader is placed in the given container.


Otherwise, a default container is used.


Defaults to ""

### SharedName

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::WholeFileReader::Attrs::SharedName(
  StringPiece x
)
```

If non-empty, this reader is named in the given bucket with this shared_name.


Otherwise, the node name is used instead.


Defaults to ""