# tensorflow::ops::FixedLengthRecordReader::Attrs

`#include <io_ops.h>`

Optional attribute setters for [FixedLengthRecordReader](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/fixed-length-record-reader#classtensorflow_1_1ops_1_1_fixed_length_record_reader).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a0657b298254345be5b67fdad88a32e35 = ""` | `StringPiece` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a422d7f1f8a73657a5d63e25e87062be8 = ""` | `StringPiece` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a7cee5510a829492d7b07dece49991893 = 0` | `int64` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a041315cfde664ae5f14a26e052d6d417 = 0` | `int64` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a2bf775253bb84c14e436e27fafa23084 = 0` | `int64` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a10fc1d7e2719d8b7a41d96b46686a424 = ""` | `StringPiece` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a22600d0f671107ef5fbc1e18666d8480(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs` If non-empty, this reader is placed in the given container. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1af785de4403ea4c3b34bb82f550c9b60c(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs` The type of encoding for the file. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a9030bf2debd8fa5c62d6aac115503305(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs` Number of bytes in the footer, defaults to 0. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1aa57b6dea873494961b0eac36fcd2130a(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs` Number of bytes in the header, defaults to 0. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a447ee44de90ad69590bf0c3258c10836(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs` Number of bytes to hop before each read. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a6c473ff11caf010e3c896ae1ae5b05f3(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_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::FixedLengthRecordReader::Attrs::container_ = ""
```

### encoding_

```
StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::encoding_ = ""
```

### footer_bytes_

```
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::footer_bytes_ = 0
```

### header_bytes_

```
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::header_bytes_ = 0
```

### hop_bytes_

```
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::hop_bytes_ = 0
```

### shared_name_

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

## Public functions

### Container

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Container(
  StringPiece x
)
```
If non-empty, this reader is placed in the given container.

Otherwise, a default container is used.

Defaults to ""

### Encoding

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Encoding(
  StringPiece x
)
```
The type of encoding for the file.

Currently ZLIB and GZIP are supported. Defaults to none.

Defaults to ""

### FooterBytes

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::FooterBytes(
  int64 x
)
```
Number of bytes in the footer, defaults to 0.

Defaults to 0

### HeaderBytes

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HeaderBytes(
  int64 x
)
```
Number of bytes in the header, defaults to 0.

Defaults to 0

### HopBytes

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HopBytes(
  int64 x
)
```
Number of bytes to hop before each read.

Default of 0 means using record_bytes.

Defaults to 0

### SharedName

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