tensorflow::ops::TextLineReader

#include <io_ops.h>

โปรแกรมอ่านไฟล์ที่แสดงผลบรรทัดของไฟล์ที่คั่นด้วยเครื่องหมาย '
'.

สรุป

ข้อโต้แย้ง:

คุณลักษณะเสริม (ดูที่ Attrs ):

  • skip_header_lines: จำนวนบรรทัดที่จะข้ามจากต้นไฟล์ทุกไฟล์
  • ภาชนะ: หากภาชนะไม่ว่างเปล่า เครื่องอ่านนี้จะถูกวางไว้ในภาชนะที่กำหนด มิเช่นนั้น จะใช้ภาชนะเริ่มต้น
  • shared_name: หากไม่ว่างเปล่า ตัวอ่านนี้จะถูกตั้งชื่อในบัคเก็ตที่กำหนดด้วย shared_name นี้ มิเช่นนั้น จะใช้ชื่อโหนดแทน

การส่งคืนสินค้า:

  • Output : ตัวจัดการสำหรับอ้างอิงถึง Reader

ตัวสร้างและตัวทำลาย

TextLineReader (const :: tensorflow::Scope & scope)
TextLineReader (const :: tensorflow::Scope & scope, const TextLineReader::Attrs & attrs)

คุณลักษณะสาธารณะ

operation
reader_handle

หน้าที่สาธารณะ

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

ฟังก์ชันคงที่สาธารณะ

Container (StringPiece x)
SharedName (StringPiece x)
SkipHeaderLines (int64 x)

โครงสร้าง

tensorflow::ops::TextLineReader::Attrs

ตัวเลือกในการตั้งค่าแอตทริบิวต์สำหรับ TextLineReader

คุณลักษณะสาธารณะ

การดำเนินการ

Operation operation

ผู้อ่าน_แฮนด์เดิล

::tensorflow::Output reader_handle

หน้าที่สาธารณะ

เครื่องอ่านข้อความ

 TextLineReader(
  const ::tensorflow::Scope & scope
)

เครื่องอ่านข้อความ

 TextLineReader(
  const ::tensorflow::Scope & scope,
  const TextLineReader::Attrs & attrs
)

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const 

ฟังก์ชันคงที่สาธารณะ

คอนเทนเนอร์

Attrs Container(
  StringPiece x
)

ชื่อที่ใช้ร่วมกัน

Attrs SharedName(
  StringPiece x
)

ข้ามบรรทัดส่วนหัว

Attrs SkipHeaderLines(
  int64 x
)