จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: LMDBReader
#include <io_ops.h>
เครื่องอ่านที่ส่งออกบันทึกจากไฟล์ LMDB
สรุป
ข้อโต้แย้ง:
แอ็ตทริบิวต์ทางเลือก (ดู Attrs
):
- คอนเทนเนอร์: หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกวางไว้ในคอนเทนเนอร์ที่กำหนด มิฉะนั้น จะใช้คอนเทนเนอร์เริ่มต้น
- shared_name: หากไม่ว่างเปล่า เครื่องอ่านนี้จะถูกตั้งชื่อในที่เก็บข้อมูลที่กำหนดด้วย shared_name นี้ มิฉะนั้น จะใช้ชื่อโหนดแทน
ผลตอบแทน:
-
Output
: หมายเลขอ้างอิงสำหรับอ้างอิง Reader
คุณลักษณะสาธารณะ
งานสาธารณะ
โหนด
::tensorflow::Node * node() const
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
คอนเทนเนอร์
Attrs Container(
StringPiece x
)
ชื่อที่ใช้ร่วมกัน
Attrs SharedName(
StringPiece x
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],[],null,["# tensorflow::ops::LMDBReader Class Reference\n\ntensorflow::ops::LMDBReader\n===========================\n\n`#include \u003cio_ops.h\u003e`\n\nA Reader that outputs the records from a LMDB file.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/l-m-d-b-reader/attrs#structtensorflow_1_1ops_1_1_l_m_d_b_reader_1_1_attrs)):\n\n- container: If non-empty, this reader is placed in the given container. Otherwise, a default container is used.\n- shared_name: If non-empty, this reader is named in the given bucket with this shared_name. Otherwise, the node name is used instead.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The handle to reference the Reader.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [LMDBReader](#classtensorflow_1_1ops_1_1_l_m_d_b_reader_1aba54e0a78f2c2adc405be27575843dda)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope)` ||\n| [LMDBReader](#classtensorflow_1_1ops_1_1_l_m_d_b_reader_1a0a7c31411c2b5e528dac6c6718918f54)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, const `[LMDBReader::Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/l-m-d-b-reader/attrs#structtensorflow_1_1ops_1_1_l_m_d_b_reader_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_l_m_d_b_reader_1a8550db7ffa81c7511736fee76be9805b) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [reader_handle](#classtensorflow_1_1ops_1_1_l_m_d_b_reader_1a2ec9ea5cf1f496e2941cd20382c573dd) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_l_m_d_b_reader_1ac0a269c6f6f9f019f7d3f8587c96e684)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_l_m_d_b_reader_1a317ffe2fd10b77168151dba3e9ff8cd9)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_l_m_d_b_reader_1a9e30025354dd177fee5e0964e49c3575)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|--------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#classtensorflow_1_1ops_1_1_l_m_d_b_reader_1ae5b41e1b88bf89e168cb16b4884cca9c)`(StringPiece x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/l-m-d-b-reader/attrs#structtensorflow_1_1ops_1_1_l_m_d_b_reader_1_1_attrs) |\n| [SharedName](#classtensorflow_1_1ops_1_1_l_m_d_b_reader_1ad7033810095bfd816aaae5ab3e8d3cfb)`(StringPiece x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/l-m-d-b-reader/attrs#structtensorflow_1_1ops_1_1_l_m_d_b_reader_1_1_attrs) |\n\n| ### Structs ||\n|--------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::LMDBReader::Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/l-m-d-b-reader/attrs) | Optional attribute setters for [LMDBReader](/versions/r1.15/api_docs/cc/class/tensorflow/ops/l-m-d-b-reader#classtensorflow_1_1ops_1_1_l_m_d_b_reader). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### reader_handle\n\n```scdoc\n::tensorflow::Output reader_handle\n``` \n\nPublic functions\n----------------\n\n### LMDBReader\n\n```gdscript\n LMDBReader(\n const ::tensorflow::Scope & scope\n)\n``` \n\n### LMDBReader\n\n```gdscript\n LMDBReader(\n const ::tensorflow::Scope & scope,\n const LMDBReader::Attrs & attrs\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n``` \n\nPublic static functions\n-----------------------\n\n### Container\n\n```text\nAttrs Container(\n StringPiece x\n)\n``` \n\n### SharedName\n\n```text\nAttrs SharedName(\n StringPiece x\n)\n```"]]