# tensorflow::ops::FixedLengthRecordReader

`#include <io_ops.h>`

A Reader that outputs fixed-length records from a file.

## Summary

Arguments:

- scope: A [Scope](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object
- record_bytes: Number of bytes in the record.

<br />

Optional attributes (see `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`):

- header_bytes: Number of bytes in the header, defaults to 0.
- footer_bytes: Number of bytes in the footer, defaults to 0.
- hop_bytes: Number of bytes to hop before each read. Default of 0 means using record_bytes.
- container: If non-empty, this reader is placed in the given container. Otherwise, a default container is used.
- shared_name: If non-empty, this reader is named in the given bucket with this shared_name. Otherwise, the node name is used instead.
- encoding: The type of encoding for the file. Currently ZLIB and GZIP are supported. Defaults to none.

<br />

Returns:

- `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output`: The handle to reference the Reader.

<br />

| ### Constructors and Destructors ||
|---|---|
| `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_1aa6ad72f08d89016af3043f72912d11eb(const ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, int64 record_bytes)` ||
| `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_1a6951f2cbfe13b445b6a134ce78fe77c1(const ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, int64 record_bytes, const 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 & attrs)` ||

| ### Public attributes ||
|---|---|
| `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_1a0c935fca537ef7bcdf2a50360d8fbd5b` | `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation` |
| `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_1a00481a6bc3fe0179015426e24fc5e3c2` | `::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` |

| ### Public functions ||
|---|---|
| `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_1a2c1856b76a5e730a35dda4b05ab36554() const ` | `::tensorflow::Node *` |
| `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_1ad939f43d11646484e2b9d7415ede5f46() const ` | ` `` ` |
| `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_1ac225045293aca5f7d8f09bbdbc233a41() const ` | ` `` ` |

| ### Public static functions ||
|---|---|
| `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_1aed436fcc075716b55de242a06c31d66e(StringPiece x)` | `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` |
| `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_1a3ff28d9038bbd2ff938d63ce611249c4(StringPiece x)` | `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` |
| `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_1acf06e389c6e04efa9e481214fea4c994(int64 x)` | `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` |
| `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_1a22257b324b398ad5b5a7a5f5fee189a4(int64 x)` | `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` |
| `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_1af4f10340eb21642925af29b97ee7fa0d(int64 x)` | `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` |
| `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_1a6adaddff1f2c88d557e6b7ffbb638d66(StringPiece x)` | `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` |

| ### Structs ||
|---|---|
| [tensorflow::ops::FixedLengthRecordReader::Attrs](https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs) | 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). |

## Public attributes

### operation

```
Operation operation
```

### reader_handle

```
::tensorflow::Output reader_handle
```

## Public functions

### FixedLengthRecordReader

```
 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes
)
```

### FixedLengthRecordReader

```
 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes,
  const FixedLengthRecordReader::Attrs & attrs
)
```

### node

```
::tensorflow::Node * node() const 
```

### operator::tensorflow::Input

```
 operator::tensorflow::Input() const 
```

### operator::tensorflow::Output

```
 operator::tensorflow::Output() const 
```

## Public static functions

### Container

```
Attrs Container(
  StringPiece x
)
```

### Encoding

```
Attrs Encoding(
  StringPiece x
)
```

### FooterBytes

```
Attrs FooterBytes(
  int64 x
)
```

### HeaderBytes

```
Attrs HeaderBytes(
  int64 x
)
```

### HopBytes

```
Attrs HopBytes(
  int64 x
)
```

### SharedName

```
Attrs SharedName(
  StringPiece x
)
```