tensorflow:: ops:: RecordInput:: Attrs

#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_ = ""

ファイルバッファサイズ_

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
)

バッチサイズ。

デフォルトは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です