เทนเซอร์โฟลว์:: ปฏิบัติการ:: บันทึกอินพุต:: คุณสมบัติ

#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
มีการเปิดความเสถียรจำนวนเท่าใดและวนซ้ำไปพร้อมๆ กัน
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

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_อัตราส่วน_

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
)

บัฟเฟอร์การสุ่มแบบสุ่ม

ค่าเริ่มต้นคือ 10,000

ไฟล์ความเท่าเทียม

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

มีการเปิดความเสถียรจำนวนเท่าใดและวนซ้ำไปพร้อมๆ กัน

ค่าเริ่มต้นคือ 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