#include <data_flow_ops.h>
Optional attribute setters for RecordInput.
Public attributes | |
---|---|
batch_size_ = 32 | int64 |
compression_type_ = "" | StringPiece |
file_buffer_size_ = 10000 | int64 |
file_parallelism_ = 16 | int64 |
file_random_seed_ = 301 | int64 |
file_shuffle_shift_ratio_ = 0.0f | float |
Public functions | |
---|---|
BatchSize(int64 x) | TF_MUST_USE_RESULT Attrs The batch size. |
CompressionType(StringPiece x) | TF_MUST_USE_RESULT Attrs The type of compression for the file. |
FileBufferSize(int64 x) | TF_MUST_USE_RESULT Attrs The randomization shuffling buffer. |
FileParallelism(int64 x) | TF_MUST_USE_RESULT Attrs How many sstables are opened and concurrently iterated over. |
FileRandomSeed(int64 x) | TF_MUST_USE_RESULT Attrs Random seeds used to produce randomized records. |
FileShuffleShiftRatio(float x) | TF_MUST_USE_RESULT Attrs Shifts the list of files after the list is randomly shuffled. |
int64 tensorflow::ops::RecordInput::Attrs::batch_size_ = 32
StringPiece tensorflow::ops::RecordInput::Attrs::compression_type_ = ""
int64 tensorflow::ops::RecordInput::Attrs::file_buffer_size_ = 10000
int64 tensorflow::ops::RecordInput::Attrs::file_parallelism_ = 16
int64 tensorflow::ops::RecordInput::Attrs::file_random_seed_ = 301
float tensorflow::ops::RecordInput::Attrs::file_shuffle_shift_ratio_ = 0.0f
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::BatchSize( int64 x )
The batch size.
Defaults to 32
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 ""
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileBufferSize( int64 x )
The randomization shuffling buffer.
Defaults to 10000
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileParallelism( int64 x )
How many sstables are opened and concurrently iterated over.
Defaults to 16
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileRandomSeed( int64 x )
Random seeds used to produce randomized records.
Defaults to 301
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
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/record-input/attrs.html