จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: ตัวอ่านข้อความ:: คุณสมบัติ
#include <io_ops.h>
ตัวตั้งค่าแอตทริบิวต์เพิ่มเติมสำหรับ TextLineReader
สรุป
งานสาธารณะ |
---|
Container (StringPiece x) | หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกวางไว้ในคอนเทนเนอร์ที่กำหนด |
SharedName (StringPiece x) | หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกตั้งชื่อในที่เก็บข้อมูลที่กำหนดด้วย shared_name นี้ |
SkipHeaderLines (int64 x) | จำนวนบรรทัดที่จะข้ามจากจุดเริ่มต้นของทุกไฟล์ |
คุณลักษณะสาธารณะ
คอนเทนเนอร์_
StringPiece tensorflow::ops::TextLineReader::Attrs::container_ = ""
shared_name_
StringPiece tensorflow::ops::TextLineReader::Attrs::shared_name_ = ""
int64 tensorflow::ops::TextLineReader::Attrs::skip_header_lines_ = 0
งานสาธารณะ
คอนเทนเนอร์
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::Container(
StringPiece x
)
หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกวางไว้ในคอนเทนเนอร์ที่กำหนด
มิฉะนั้น จะใช้คอนเทนเนอร์เริ่มต้น
ค่าเริ่มต้นเป็น ""
ชื่อที่ใช้ร่วมกัน
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SharedName(
StringPiece x
)
หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกตั้งชื่อในที่เก็บข้อมูลที่กำหนดด้วย shared_name นี้
มิฉะนั้น จะใช้ชื่อโหนดแทน
ค่าเริ่มต้นเป็น ""
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SkipHeaderLines(
int64 x
)
จำนวนบรรทัดที่จะข้ามจากจุดเริ่มต้นของทุกไฟล์
ค่าเริ่มต้นเป็น 0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# tensorflow::ops::TextLineReader::Attrs Struct Reference\n\ntensorflow::ops::TextLineReader::Attrs\n======================================\n\n`#include \u003cio_ops.h\u003e`\n\nOptional attribute setters for [TextLineReader](/versions/r2.3/api_docs/cc/class/tensorflow/ops/text-line-reader#classtensorflow_1_1ops_1_1_text_line_reader).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------------|---------------|\n| [container_](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1ae411d4625bdf3551cd6694b912bef305)` = \"\"` | `StringPiece` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a48a16fb510135a90b7f85fdddd1271d7)` = \"\"` | `StringPiece` |\n| [skip_header_lines_](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1ae4709b84c31004cd869b2cd4a1bfa4a1)` = 0` | `int64` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a9ecabd53959b0e6b753c7743cf87f7da)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs) If non-empty, this reader is placed in the given container. |\n| [SharedName](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a28c661e5d45fb89382b6146043653792)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs) If non-empty, this reader is named in the given bucket with this shared_name. |\n| [SkipHeaderLines](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a2ccb0c50743b51e0fde36f1df23f2550)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs) Number of lines to skip from the beginning of every file. |\n\nPublic attributes\n-----------------\n\n### container_\n\n```scdoc\nStringPiece tensorflow::ops::TextLineReader::Attrs::container_ = \"\"\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::TextLineReader::Attrs::shared_name_ = \"\"\n``` \n\n### skip_header_lines_\n\n```scdoc\nint64 tensorflow::ops::TextLineReader::Attrs::skip_header_lines_ = 0\n``` \n\nPublic functions\n----------------\n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::Container(\n StringPiece x\n)\n``` \nIf non-empty, this reader is placed in the given container.\n\nOtherwise, a default container is used.\n\nDefaults to \"\" \n\n### SharedName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SharedName(\n StringPiece x\n)\n``` \nIf non-empty, this reader is named in the given bucket with this shared_name.\n\nOtherwise, the node name is used instead.\n\nDefaults to \"\" \n\n### SkipHeaderLines\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SkipHeaderLines(\n int64 x\n)\n``` \nNumber of lines to skip from the beginning of every file.\n\nDefaults to 0"]]