# tensorflow::ops::TextLineReader::Attrs Struct Reference

# tensorflow::ops::TextLineReader::Attrs

`#include <io_ops.h>`

Optional attribute setters for [TextLineReader](https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/text-line-reader#classtensorflow_1_1ops_1_1_text_line_reader).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1ae411d4625bdf3551cd6694b912bef305 = ""` | `StringPiece` |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a48a16fb510135a90b7f85fdddd1271d7 = ""` | `StringPiece` |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1ae4709b84c31004cd869b2cd4a1bfa4a1 = 0` | `int64` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a9ecabd53959b0e6b753c7743cf87f7da(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs` If non-empty, this reader is placed in the given container. |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a28c661e5d45fb89382b6146043653792(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs` If non-empty, this reader is named in the given bucket with this shared_name. |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a2ccb0c50743b51e0fde36f1df23f2550(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs` Number of lines to skip from the beginning of every file. |

## Public attributes

### container_

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

### shared_name_

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

### skip_header_lines_

```
int64 tensorflow::ops::TextLineReader::Attrs::skip_header_lines_ = 0
```

## Public functions

### Container

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

### SkipHeaderLines

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SkipHeaderLines(
  int64 x
)
```
Number of lines to skip from the beginning of every file.

Defaults to 0