Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::QueueEnqueue
#include <data_flow_ops.h>
Enqueues a tuple of one or more tensors in the given queue.
Summary
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 element has been enqueued (or 'timeout_ms' elapses, if specified).
Args:
- 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 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. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-15 UTC."],[],[],null,["# tensorflow::ops::QueueEnqueue Class Reference\n\ntensorflow::ops::QueueEnqueue\n=============================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nEnqueues a tuple of one or more tensors in the given queue.\n\nSummary\n-------\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 element has been enqueued (or 'timeout_ms' elapses, if specified).\n\nArgs:\n\n- scope: A [Scope](/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](/api_docs/cc/struct/tensorflow/ops/queue-enqueue/attrs#structtensorflow_1_1ops_1_1_queue_enqueue_1_1_attrs)):\n\n- timeout_ms: If the queue is 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](/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QueueEnqueue](#classtensorflow_1_1ops_1_1_queue_enqueue_1a0f0c1661cfe21aaf3ab6a9621f898b2b)`(const ::`[tensorflow::Scope](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` handle, ::`[tensorflow::InputList](/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` components)` ||\n| [QueueEnqueue](#classtensorflow_1_1ops_1_1_queue_enqueue_1a90b82cbaf8f3ef9cee2fec35ae559e8f)`(const ::`[tensorflow::Scope](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` handle, ::`[tensorflow::InputList](/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` components, const `[QueueEnqueue::Attrs](/api_docs/cc/struct/tensorflow/ops/queue-enqueue/attrs#structtensorflow_1_1ops_1_1_queue_enqueue_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_queue_enqueue_1ac2647083cdddc7cdc2b993e219eba7bb) | [Operation](/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_1a2f188bd8c727a23ce6c06f4c7cef00ba)`() const ` | |\n\n| ### Public static functions ||\n|------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|\n| [TimeoutMs](#classtensorflow_1_1ops_1_1_queue_enqueue_1a705f7ecc8021d5653e3f3adbd92ca8ff)`(int64 x)` | [Attrs](/api_docs/cc/struct/tensorflow/ops/queue-enqueue/attrs#structtensorflow_1_1ops_1_1_queue_enqueue_1_1_attrs) |\n\n| ### Structs ||\n|------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QueueEnqueue::Attrs](/api_docs/cc/struct/tensorflow/ops/queue-enqueue/attrs) | Optional attribute setters for [QueueEnqueue](/api_docs/cc/class/tensorflow/ops/queue-enqueue#classtensorflow_1_1ops_1_1_queue_enqueue). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### QueueEnqueue\n\n```gdscript\n QueueEnqueue(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n ::tensorflow::InputList components\n)\n``` \n\n### QueueEnqueue\n\n```gdscript\n QueueEnqueue(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n ::tensorflow::InputList components,\n const QueueEnqueue::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```"]]