テンソルフロー::作戦::レコード入力::属性

#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
開かれ、同時に反復処理される sstable の数。
FileRandomSeed (int64 x)
TF_MUST_USE_RESULT Attrs
ランダム化されたレコードを生成するために使用されるランダム シード。
FileShuffleShiftRatio (float x)
TF_MUST_USE_RESULT Attrs
リストがランダムにシャッフルされた後、ファイルのリストを移動します。

パブリック属性

バッチサイズ_

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

圧縮タイプ_

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

file_buffer_size_

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

file_shuffle_shift_ratio_

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

公共機能

バッチサイズ

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::BatchSize(
  int64 x
)

バッチサイズ。

デフォルトは 32

圧縮タイプ

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::CompressionType(
  StringPiece x
)

ファイルの圧縮の種類。

現在、ZLIB と GZIP がサポートされています。デフォルトはなしです。

デフォルトは「」です

ファイルバッファサイズ

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileBufferSize(
  int64 x
)

ランダム化シャッフルバッファ。

デフォルトは 10000

ファイル並列処理

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileParallelism(
  int64 x
)

開かれ、同時に反復処理される sstable の数。

デフォルトは 16

ファイルランダムシード

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileRandomSeed(
  int64 x
)

ランダム化されたレコードを生成するために使用されるランダム シード。

デフォルトは 301

ファイルシャッフルシフト比

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileShuffleShiftRatio(
  float x
)

リストがランダムにシャッフルされた後、ファイルのリストを移動します。

デフォルトは 0