تدفق التوتر:: العمليات:: قراءة القارئ
#include <io_ops.h>
إرجاع السجل التالي (المفتاح، زوج القيمة) الذي أنتجه القارئ.
ملخص
سيتم فصله من قائمة انتظار الإدخال إذا لزم الأمر (على سبيل المثال، عندما يحتاج القارئ إلى بدء القراءة من ملف جديد بعد الانتهاء من الملف السابق).
الحجج:
- النطاق: كائن النطاق
- Reader_handle: التعامل مع القارئ.
- queue_handle: التعامل مع قائمة الانتظار، مع عناصر العمل المتسلسلة.
العوائد:
البنائين والمدمرين | |
---|---|
ReaderRead (const :: tensorflow::Scope & scope, :: tensorflow::Input reader_handle, :: tensorflow::Input queue_handle) |
الصفات العامة | |
---|---|
key | |
operation | |
value |
الصفات العامة
مفتاح
::tensorflow::Output key
عملية
Operation operation
قيمة
::tensorflow::Output value
الوظائف العامة
قراءة القارئ
ReaderRead( const ::tensorflow::Scope & scope, ::tensorflow::Input reader_handle, ::tensorflow::Input queue_handle )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# tensorflow::ops::ReaderRead Class Reference\n\ntensorflow::ops::ReaderRead\n===========================\n\n`#include \u003cio_ops.h\u003e`\n\nReturns the next record (key, value pair) produced by a Reader.\n\nSummary\n-------\n\nWill dequeue from the input queue if necessary (e.g. when the Reader needs to start reading from a new file since it has finished with the previous file).\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- reader_handle: Handle to a Reader.\n- queue_handle: Handle to a Queue, with string work items.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) key: A scalar.\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) value: A scalar.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ReaderRead](#classtensorflow_1_1ops_1_1_reader_read_1a7d1eef47d4a87dceeded2d6750e7cb0e)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` reader_handle, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` queue_handle)` ||\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [key](#classtensorflow_1_1ops_1_1_reader_read_1a0d1111765b2bd6b3cbab0cbe8fe599f5) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_reader_read_1af68b5bdc62c28936b77f59faa6864a47) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [value](#classtensorflow_1_1ops_1_1_reader_read_1a80683cdf25825be1e931e1def4ac07bb) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\nPublic attributes\n-----------------\n\n### key\n\n```text\n::tensorflow::Output key\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\n### value\n\n```text\n::tensorflow::Output value\n``` \n\nPublic functions\n----------------\n\n### ReaderRead\n\n```gdscript\n ReaderRead(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input reader_handle,\n ::tensorflow::Input queue_handle\n)\n```"]]