# tensorflow::ops::LMDBReader::Attrs Struct Reference

# tensorflow::
ops::
LMDBReader::
Attrs

`
#include <io_ops.h>
`


Optional attribute setters for
[LMDBReader](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/l-m-d-b-reader#classtensorflow_1_1ops_1_1_l_m_d_b_reader)
.

## Summary

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/l-m-d-b-reader/attrs#structtensorflow_1_1ops_1_1_l_m_d_b_reader_1_1_attrs_1add25e46bffe36a475068240d1fea1b2c = "" ` | ` StringPiece ` |
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/l-m-d-b-reader/attrs#structtensorflow_1_1ops_1_1_l_m_d_b_reader_1_1_attrs_1a77fcbb16282f6b91fc7e7bdf7d2dbd77 = "" ` | ` StringPiece ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/l-m-d-b-reader/attrs#structtensorflow_1_1ops_1_1_l_m_d_b_reader_1_1_attrs_1abf48a4f6d18deda52c9a64d31082023c (StringPiece x) ` | ` TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/l-m-d-b-reader/attrs#structtensorflow_1_1ops_1_1_l_m_d_b_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/l-m-d-b-reader/attrs#structtensorflow_1_1ops_1_1_l_m_d_b_reader_1_1_attrs_1af0cddfe15c6ccc66a682decb3a1ff644 (StringPiece x) ` | ` TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.6/api_docs/cc/struct/tensorflow/ops/l-m-d-b-reader/attrs#structtensorflow_1_1ops_1_1_l_m_d_b_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::LMDBReader::Attrs::container_ = ""
```

### shared_name_

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

## Public functions

### Container

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