تدفق التوتر:: العمليات:: إدخال السجل:: أترز

#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
يقوم بإزاحة قائمة الملفات بعد خلط القائمة بشكل عشوائي.

الصفات العامة

حجم الدفعة_

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

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

الوظائف العامة

حجم الدفعة

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. الافتراضات إلى لا شيء.

الإعدادات الافتراضية إلى ""

FileBufferSize

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
)

كم عدد sstables التي تم فتحها وتكرارها بشكل متزامن.

الافتراضي هو 16

ملف RandomSeed

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