संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: पहचान वाचक
#include <io_ops.h>
एक रीडर जो पंक्तिबद्ध कार्य को कुंजी और मान दोनों के रूप में आउटपुट करता है।
सारांश
उपयोग करने के लिए, स्ट्रिंग्स को एक कतार में पंक्तिबद्ध करें। रीडररीड फ्रंट वर्क स्ट्रिंग और आउटपुट (कार्य, कार्य) लेगा।
तर्क:
वैकल्पिक विशेषताएँ (देखें Attrs
):
- कंटेनर: यदि खाली नहीं है, तो यह रीडर दिए गए कंटेनर में रखा गया है। अन्यथा, एक डिफ़ॉल्ट कंटेनर का उपयोग किया जाता है।
- साझा_नाम: यदि खाली नहीं है, तो इस रीडर को इस साझा_नाम के साथ दिए गए बकेट में नामित किया गया है। अन्यथा, इसके स्थान पर नोड नाम का उपयोग किया जाता है।
रिटर्न:
-
Output
: रीडर को संदर्भित करने के लिए हैंडल।
सार्वजनिक गुण
सार्वजनिक समारोह
नोड
::tensorflow::Node * node() const
operator::tensorflow::Input() const
ऑपरेटर::टेन्सरफ़्लो::आउटपुट
operator::tensorflow::Output() const
सार्वजनिक स्थैतिक कार्य
पात्र
Attrs Container(
StringPiece x
)
साझानाम
Attrs SharedName(
StringPiece x
)
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# tensorflow::ops::IdentityReader Class Reference\n\ntensorflow::ops::IdentityReader\n===============================\n\n`#include \u003cio_ops.h\u003e`\n\nA Reader that outputs the queued work as both the key and value.\n\nSummary\n-------\n\nTo use, enqueue strings in a Queue. [ReaderRead](/versions/r2.0/api_docs/cc/class/tensorflow/ops/reader-read#classtensorflow_1_1ops_1_1_reader_read) will take the front work string and output (work, work).\n\nArguments:\n\n- scope: A [Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/identity-reader/attrs#structtensorflow_1_1ops_1_1_identity_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/r2.0/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| [IdentityReader](#classtensorflow_1_1ops_1_1_identity_reader_1a8377a1278a34db6e77c425ff2e9e7ff3)`(const ::`[tensorflow::Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope)` ||\n| [IdentityReader](#classtensorflow_1_1ops_1_1_identity_reader_1af33f0b851d794d0ec80d99c58487d2c2)`(const ::`[tensorflow::Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, const `[IdentityReader::Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/identity-reader/attrs#structtensorflow_1_1ops_1_1_identity_reader_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_identity_reader_1a7ec93f43074ad744acc98e1d1a733114) | [Operation](/versions/r2.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [reader_handle](#classtensorflow_1_1ops_1_1_identity_reader_1a99941351a078c0603e987274e036aaec) | `::`[tensorflow::Output](/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_identity_reader_1aaca21556a5e7953519c4f3bb2e8e586d)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_identity_reader_1a040ff71a57aa70dc1302a1a02ca4642f)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_identity_reader_1aa542e40b49ddb2813861d60aad258ed7)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|---------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#classtensorflow_1_1ops_1_1_identity_reader_1a0143cf6ae20b8eb585dc75f7ca9e1b65)`(StringPiece x)` | [Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/identity-reader/attrs#structtensorflow_1_1ops_1_1_identity_reader_1_1_attrs) |\n| [SharedName](#classtensorflow_1_1ops_1_1_identity_reader_1acc58b573c228deef23d4680b1c5fb452)`(StringPiece x)` | [Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/identity-reader/attrs#structtensorflow_1_1ops_1_1_identity_reader_1_1_attrs) |\n\n| ### Structs ||\n|------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::IdentityReader::Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/identity-reader/attrs) | Optional attribute setters for [IdentityReader](/versions/r2.0/api_docs/cc/class/tensorflow/ops/identity-reader#classtensorflow_1_1ops_1_1_identity_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### IdentityReader\n\n```gdscript\n IdentityReader(\n const ::tensorflow::Scope & scope\n)\n``` \n\n### IdentityReader\n\n```gdscript\n IdentityReader(\n const ::tensorflow::Scope & scope,\n const IdentityReader::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```"]]