เทนเซอร์โฟลว์:: ปฏิบัติการ:: บันทึกอินพุต
#include <data_flow_ops.h>
ปล่อยบันทึกแบบสุ่ม
สรุป
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- file_pattern: รูปแบบ Glob สำหรับไฟล์ข้อมูล
แอ็ตทริบิวต์ทางเลือก (ดู Attrs
):
- file_random_seed: เมล็ดสุ่มที่ใช้ในการสร้างบันทึกแบบสุ่ม
- file_shuffle_shift_ratio: เลื่อนรายการไฟล์หลังจากที่รายการถูกสับแบบสุ่ม
- file_buffer_size: บัฟเฟอร์การสุ่มแบบสุ่ม
- file_parallelism: จำนวน sstable ที่เปิดและวนซ้ำพร้อมกัน
- Batch_size: ขนาดแบตช์
- Compression_type: ประเภทของการบีบอัดไฟล์ ปัจจุบันรองรับ ZLIB และ GZIP ไม่มีค่าเริ่มต้น
ผลตอบแทน:
-
Output
: เทนเซอร์ของรูปร่าง [batch_size]
ตัวสร้างและผู้ทำลาย | |
---|---|
RecordInput (const :: tensorflow::Scope & scope, StringPiece file_pattern) | |
RecordInput (const :: tensorflow::Scope & scope, StringPiece file_pattern, const RecordInput::Attrs & attrs) |
คุณลักษณะสาธารณะ | |
---|---|
operation | |
records |
งานสาธารณะ | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
ฟังก์ชันคงที่สาธารณะ | |
---|---|
BatchSize (int64 x) | |
CompressionType (StringPiece x) | |
FileBufferSize (int64 x) | |
FileParallelism (int64 x) | |
FileRandomSeed (int64 x) | |
FileShuffleShiftRatio (float x) |
โครงสร้าง | |
---|---|
เทนเซอร์โฟลว์ :: ops :: RecordInput :: Attrs | ตัวตั้งค่าแอตทริบิวต์เพิ่มเติมสำหรับ RecordInput |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
บันทึก
::tensorflow::Output records
งานสาธารณะ
บันทึกอินพุต
RecordInput( const ::tensorflow::Scope & scope, StringPiece file_pattern )
บันทึกอินพุต
RecordInput( const ::tensorflow::Scope & scope, StringPiece file_pattern, const RecordInput::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
ขนาดแบทช์
Attrs BatchSize( int64 x )
ประเภทการบีบอัด
Attrs CompressionType( StringPiece x )
FileBufferSize
Attrs FileBufferSize( int64 x )
ไฟล์ความเท่าเทียม
Attrs FileParallelism( int64 x )
ไฟล์ RandomSeed
Attrs FileRandomSeed( int64 x )
FileShuffleShiftRatio
Attrs FileShuffleShiftRatio( float x )