tensorflow:: אופס:: QueueEnqueueMany
#include <data_flow_ops.h>
מעמיד בתור אפס או יותר tuples של טנסור אחד או יותר בתור הנתון.
תַקצִיר
פעולה זו פורסת כל טנזור של רכיב לאורך הממד ה-0 כדי ליצור רכיבי תור מרובים. כל רכיבי ה-tuple חייבים להיות בעלי אותו גודל בממד ה-0.
לקלט הרכיבים יש k אלמנטים, המתאימים לרכיבים של tuples המאוחסנים בתור הנתון.
הערה אם התור מלא, פעולה זו תיחסם עד שהרכיבים הנתונים יוצבו בתור (או יפוג 'timeout_ms', אם צוין).
טיעונים:
- scope: אובייקט Scope
- ידית: הידית לתור.
- רכיבים: טנסור אחד או יותר שממנו יש לקחת את הטנסורים הניצבים בתור.
מאפיינים אופציונליים (ראה Attrs
):
- timeout_ms: אם התור מלא מדי, פעולה זו תיחסם עד ל-timeout_ms אלפיות השנייה. הערה: אפשרות זו אינה נתמכת עדיין.
החזרות:
-
Operation
שנוצר
בנאים והורסים | |
---|---|
QueueEnqueueMany (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::InputList components) | |
QueueEnqueueMany (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::InputList components, const QueueEnqueueMany::Attrs & attrs) |
תכונות ציבוריות | |
---|---|
operation |
תפקידים ציבוריים | |
---|---|
operator::tensorflow::Operation () const |
פונקציות סטטיות ציבוריות | |
---|---|
TimeoutMs (int64 x) |
מבנים | |
---|---|
tensorflow:: ops:: QueueEnqueueMany:: Attrs | קובעי תכונות אופציונליים עבור QueueEnqueueMany . |
תכונות ציבוריות
מִבצָע
Operation operation
תפקידים ציבוריים
QueueEnqueueMany
QueueEnqueueMany( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::InputList components )
QueueEnqueueMany
QueueEnqueueMany( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::InputList components, const QueueEnqueueMany::Attrs & attrs )
אופרטור::tensorflow::פעולה
operator::tensorflow::Operation() const
פונקציות סטטיות ציבוריות
TimeoutMs
Attrs TimeoutMs( int64 x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[],null,["# tensorflow::ops::QueueEnqueueMany Class Reference\n\ntensorflow::ops::QueueEnqueueMany\n=================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nEnqueues zero or more tuples of one or more tensors in the given queue.\n\nSummary\n-------\n\nThis operation slices each component tensor along the 0th dimension to make multiple queue elements. [All](/versions/r2.3/api_docs/cc/class/tensorflow/ops/all#classtensorflow_1_1ops_1_1_all) of the tuple components must have the same size in the 0th dimension.\n\nThe components input has k elements, which correspond to the components of tuples stored in the given queue.\n\nN.B. If the queue is full, this operation will block until the given elements have been enqueued (or 'timeout_ms' elapses, if specified).\n\nArguments:\n\n- scope: A [Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- handle: The handle to a queue.\n- components: One or more tensors from which the enqueued tensors should be taken.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/queue-enqueue-many/attrs#structtensorflow_1_1ops_1_1_queue_enqueue_many_1_1_attrs)):\n\n- timeout_ms: If the queue is too full, this operation will block for up to timeout_ms milliseconds. Note: This option is not supported yet.\n\n\u003cbr /\u003e\n\nReturns:\n\n- the created [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QueueEnqueueMany](#classtensorflow_1_1ops_1_1_queue_enqueue_many_1a5ecdf3e3a6258d96aead53f0a7dd978d)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` handle, ::`[tensorflow::InputList](/versions/r2.3/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` components)` ||\n| [QueueEnqueueMany](#classtensorflow_1_1ops_1_1_queue_enqueue_many_1afefa06b2fa7cccfdcadef27efed52358)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` handle, ::`[tensorflow::InputList](/versions/r2.3/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` components, const `[QueueEnqueueMany::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/queue-enqueue-many/attrs#structtensorflow_1_1ops_1_1_queue_enqueue_many_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_queue_enqueue_many_1a446ef8eb2cfb77152f2bdb7478c31824) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|---------|\n| [operator::tensorflow::Operation](#classtensorflow_1_1ops_1_1_queue_enqueue_many_1a884681259cd800fb78503ea825852430)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|-----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| [TimeoutMs](#classtensorflow_1_1ops_1_1_queue_enqueue_many_1ae1ceaf22a97e82b627c27817a388c723)`(int64 x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/queue-enqueue-many/attrs#structtensorflow_1_1ops_1_1_queue_enqueue_many_1_1_attrs) |\n\n| ### Structs ||\n|-----------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QueueEnqueueMany::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/queue-enqueue-many/attrs) | Optional attribute setters for [QueueEnqueueMany](/versions/r2.3/api_docs/cc/class/tensorflow/ops/queue-enqueue-many#classtensorflow_1_1ops_1_1_queue_enqueue_many). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### QueueEnqueueMany\n\n```gdscript\n QueueEnqueueMany(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n ::tensorflow::InputList components\n)\n``` \n\n### QueueEnqueueMany\n\n```gdscript\n QueueEnqueueMany(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n ::tensorflow::InputList components,\n const QueueEnqueueMany::Attrs & attrs\n)\n``` \n\n### operator::tensorflow::Operation\n\n```gdscript\n operator::tensorflow::Operation() const \n``` \n\nPublic static functions\n-----------------------\n\n### TimeoutMs\n\n```text\nAttrs TimeoutMs(\n int64 x\n)\n```"]]