# tensorflow::ops::RecordInput::Attrs

`#include <data_flow_ops.h>`

Optional attribute setters for [RecordInput](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/record-input#classtensorflow_1_1ops_1_1_record_input).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1a5e93b5c3afd9d100fa2d826b2eebc6ef = 32` | `int64` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1a7eed7761965f835ba1ace20d5987432e = ""` | `StringPiece` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1a88c16d81d3320ef5a8e8df9e88e37844 = 10000` | `int64` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1a052209b9b34024362c66e051ae68b91a = 16` | `int64` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1a4db56cae459a556a0c9e65a506e4c9c9 = 301` | `int64` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1a620f58ee4cd1533315f6518267466964 = 0.0f` | `float` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1a9423205364b100fa34c6c9fe995851dc(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs` The batch size. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1a6e329660b38cf6032f6d96d5252405c7(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs` The type of compression for the file. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1a43601cd3b615d55ecaf9c7b59adaf9dd(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs` The randomization shuffling buffer. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1af397048dba5fe9974fc5a5813634968d(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs` How many sstables are opened and concurrently iterated over. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1a9cd39adb79d949d15fd248da85c39490(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs` Random seeds used to produce randomized records. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs_1aae62ed429029c914a7e17373f915d5df(float x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/record-input/attrs#structtensorflow_1_1ops_1_1_record_input_1_1_attrs` Shifts the list of files after the list is randomly shuffled. |

## Public attributes

### batch_size_

```
int64 tensorflow::ops::RecordInput::Attrs::batch_size_ = 32
```

### compression_type_

```
StringPiece tensorflow::ops::RecordInput::Attrs::compression_type_ = ""
```

### file_buffer_size_

```
int64 tensorflow::ops::RecordInput::Attrs::file_buffer_size_ = 10000
```

### file_parallelism_

```
int64 tensorflow::ops::RecordInput::Attrs::file_parallelism_ = 16
```

### file_random_seed_

```
int64 tensorflow::ops::RecordInput::Attrs::file_random_seed_ = 301
```

### file_shuffle_shift_ratio_

```
float tensorflow::ops::RecordInput::Attrs::file_shuffle_shift_ratio_ = 0.0f
```

## Public functions

### BatchSize

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::BatchSize(
  int64 x
)
```
The batch size.

Defaults to 32

### CompressionType

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::CompressionType(
  StringPiece x
)
```
The type of compression for the file.

Currently ZLIB and GZIP are supported. Defaults to none.

Defaults to ""

### FileBufferSize

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileBufferSize(
  int64 x
)
```
The randomization shuffling buffer.

Defaults to 10000

### FileParallelism

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileParallelism(
  int64 x
)
```
How many sstables are opened and concurrently iterated over.

Defaults to 16

### FileRandomSeed

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileRandomSeed(
  int64 x
)
```
Random seeds used to produce randomized records.

Defaults to 301

### FileShuffleShiftRatio

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileShuffleShiftRatio(
  float x
)
```
Shifts the list of files after the list is randomly shuffled.

Defaults to 0