เทนเซอร์โฟลว์:: ปฏิบัติการ:: ตัวอ่านบันทึกความยาวคงที่:: คุณสมบัติ
#include <io_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ FixLengthRecordReader
สรุป
คุณลักษณะสาธารณะ | |
---|---|
container_ = "" | StringPiece |
encoding_ = "" | StringPiece |
footer_bytes_ = 0 | int64 |
header_bytes_ = 0 | int64 |
hop_bytes_ = 0 | int64 |
shared_name_ = "" | StringPiece |
งานสาธารณะ | |
---|---|
Container (StringPiece x) | TF_MUST_USE_RESULT Attrs หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกวางไว้ในคอนเทนเนอร์ที่กำหนด |
Encoding (StringPiece x) | TF_MUST_USE_RESULT Attrs ประเภทของการเข้ารหัสสำหรับไฟล์ |
FooterBytes (int64 x) | TF_MUST_USE_RESULT Attrs จำนวนไบต์ในส่วนท้าย มีค่าเริ่มต้นเป็น 0 |
HeaderBytes (int64 x) | TF_MUST_USE_RESULT Attrs จำนวนไบต์ในส่วนหัว มีค่าเริ่มต้นเป็น 0 |
HopBytes (int64 x) | TF_MUST_USE_RESULT Attrs จำนวนไบต์ที่จะข้ามก่อนการอ่านแต่ละครั้ง |
SharedName (StringPiece x) | TF_MUST_USE_RESULT Attrs หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกตั้งชื่อในที่เก็บข้อมูลที่กำหนดด้วย shared_name นี้ |
คุณลักษณะสาธารณะ
คอนเทนเนอร์_
StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::container_ = ""
การเข้ารหัส_
StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::encoding_ = ""
ส่วนท้าย_bytes_
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::footer_bytes_ = 0
header_bytes_
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::header_bytes_ = 0
ฮ็อป_ไบต์_
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::hop_bytes_ = 0
shared_name_
StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::shared_name_ = ""
งานสาธารณะ
คอนเทนเนอร์
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Container( StringPiece x )
หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกวางไว้ในคอนเทนเนอร์ที่กำหนด
มิฉะนั้น จะใช้คอนเทนเนอร์เริ่มต้น
ค่าเริ่มต้นเป็น ""
การเข้ารหัส
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Encoding( StringPiece x )
ประเภทของการเข้ารหัสสำหรับไฟล์
ปัจจุบันรองรับ ZLIB และ GZIP ไม่มีค่าเริ่มต้น
ค่าเริ่มต้นเป็น ""
ส่วนท้ายไบต์
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::FooterBytes( int64 x )
จำนวนไบต์ในส่วนท้าย มีค่าเริ่มต้นเป็น 0
ค่าเริ่มต้นเป็น 0
เฮดเดอร์ไบต์
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HeaderBytes( int64 x )
จำนวนไบต์ในส่วนหัว มีค่าเริ่มต้นเป็น 0
ค่าเริ่มต้นเป็น 0
ฮอปไบต์
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HopBytes( int64 x )
จำนวนไบต์ที่จะข้ามก่อนการอ่านแต่ละครั้ง
ค่าเริ่มต้นของ 0 หมายถึงการใช้ record_bytes
ค่าเริ่มต้นเป็น 0
ชื่อที่ใช้ร่วมกัน
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::SharedName( StringPiece x )
หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกตั้งชื่อในที่เก็บข้อมูลที่กำหนดด้วย shared_name นี้
มิฉะนั้น จะใช้ชื่อโหนดแทน
ค่าเริ่มต้นเป็น ""