Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::QueueEnqueueMany
#include <data_flow_ops.h>
Enqueues zero or more tuples of one or more tensors in the given queue.
Summary
This operation slices each component tensor along the 0th dimension to make multiple queue elements. All of the tuple components must have the same size in the 0th dimension.
The components input has k elements, which correspond to the components of tuples stored in the given queue.
N.B. If the queue is full, this operation will block until the given elements have been enqueued (or 'timeout_ms' elapses, if specified).
Arguments:
- scope: A Scope object
- handle: The handle to a queue.
- components: One or more tensors from which the enqueued tensors should be taken.
Optional attributes (see Attrs
):
- 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.
Returns:
Public attributes
Public functions
operator::tensorflow::Operation
operator::tensorflow::Operation() const
Public static functions
TimeoutMs
Attrs TimeoutMs(
int64 x
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 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/r1.15/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/r1.15/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/r1.15/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/r1.15/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/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)` handle, ::`[tensorflow::InputList](/versions/r1.15/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/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)` handle, ::`[tensorflow::InputList](/versions/r1.15/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` components, const `[QueueEnqueueMany::Attrs](/versions/r1.15/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/r1.15/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/r1.15/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/r1.15/api_docs/cc/struct/tensorflow/ops/queue-enqueue-many/attrs) | Optional attribute setters for [QueueEnqueueMany](/versions/r1.15/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```"]]