tensorflow::ops::RecordInput::Атрибуты
#include <data_flow_ops.h>
Дополнительные атрибуты для RecordInput.
Краткое описание
| Публичные атрибуты | |
|---|---|
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 |
| Публичные функции | |
|---|---|
BatchSize(int64 x) | TF_MUST_USE_RESULT Attrs Размер пакета. |
CompressionType(StringPiece x) | TF_MUST_USE_RESULT Attrs Тип сжатия файла. |
FileBufferSize(int64 x) | TF_MUST_USE_RESULT Attrs Буфер для случайной перестановки. |
FileParallelism(int64 x) | TF_MUST_USE_RESULT Attrs Количество открываемых и одновременно итерируемых SSTables. |
FileRandomSeed(int64 x) | TF_MUST_USE_RESULT Attrs Случайные зерна, используемые для генерации случайных записей. |
FileShuffleShiftRatio(float x) | TF_MUST_USE_RESULT Attrs Сдвигает список файлов после случайной перестановки списка. |
Публичные атрибуты
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
Публичные функции
BatchSize
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::BatchSize( int64 x )
Размер пакета.
По умолчанию 32
CompressionType
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::CompressionType( StringPiece x )
Тип сжатия файла.
В настоящее время поддерживаются ZLIB и GZIP. По умолчанию - без сжатия.
По умолчанию ""
FileBufferSize
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileBufferSize( int64 x )
Буфер для случайной перестановки.
По умолчанию 10000
FileParallelism
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileParallelism( int64 x )
Количество открываемых и одновременно итерируемых SSTables.
По умолчанию 16
FileRandomSeed
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileRandomSeed( int64 x )
Случайные зерна, используемые для генерации случайных записей.
По умолчанию 301
FileShuffleShiftRatio
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileShuffleShiftRatio( float x )
Сдвигает список файлов после случайной перестановки списка.
По умолчанию 0
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/record-input/attrs