จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: โปรแกรมอ่านไฟล์ทั้งหมด:: คุณสมบัติ
#include <io_ops.h>
ตัวตั้งค่าแอตทริบิวต์เพิ่มเติมสำหรับ WholeFileReader
สรุป
งานสาธารณะ |
---|
Container (StringPiece x) | หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกวางไว้ในคอนเทนเนอร์ที่กำหนด |
SharedName (StringPiece x) | หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกตั้งชื่อในที่เก็บข้อมูลที่กำหนดด้วย shared_name นี้ |
คุณลักษณะสาธารณะ
คอนเทนเนอร์_
StringPiece tensorflow::ops::WholeFileReader::Attrs::container_ = ""
shared_name_
StringPiece tensorflow::ops::WholeFileReader::Attrs::shared_name_ = ""
งานสาธารณะ
คอนเทนเนอร์
TF_MUST_USE_RESULT Attrs tensorflow::ops::WholeFileReader::Attrs::Container(
StringPiece x
)
หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกวางไว้ในคอนเทนเนอร์ที่กำหนด
มิฉะนั้น จะใช้คอนเทนเนอร์เริ่มต้น
ค่าเริ่มต้นเป็น ""
ชื่อที่ใช้ร่วมกัน
TF_MUST_USE_RESULT Attrs tensorflow::ops::WholeFileReader::Attrs::SharedName(
StringPiece x
)
หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกตั้งชื่อในที่เก็บข้อมูลที่กำหนดด้วย shared_name นี้
มิฉะนั้น จะใช้ชื่อโหนดแทน
ค่าเริ่มต้นเป็น ""
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],[],null,["# tensorflow::ops::WholeFileReader::Attrs Struct Reference\n\ntensorflow::ops::WholeFileReader::Attrs\n=======================================\n\n`#include \u003cio_ops.h\u003e`\n\nOptional attribute setters for [WholeFileReader](/versions/r2.0/api_docs/cc/class/tensorflow/ops/whole-file-reader#classtensorflow_1_1ops_1_1_whole_file_reader).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------|---------------|\n| [container_](#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1ab2be51d49964dfa075607f3bfb540fa1)` = \"\"` | `StringPiece` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1ab18cd1c5a421c4f6622515a46d204d22)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1ae951ae9d878ac1752b53321de8fd6ef5)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/whole-file-reader/attrs#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs) If non-empty, this reader is placed in the given container. |\n| [SharedName](#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1a6c1247f8cc0ac84a910e5577e2bc04de)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/whole-file-reader/attrs#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs) If non-empty, this reader is named in the given bucket with this shared_name. |\n\nPublic attributes\n-----------------\n\n### container_\n\n```scdoc\nStringPiece tensorflow::ops::WholeFileReader::Attrs::container_ = \"\"\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::WholeFileReader::Attrs::shared_name_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::WholeFileReader::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::WholeFileReader::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 \"\""]]