tf.raw_ops.QueueEnqueueV2  |  TensorFlow v2.16.1 (original) (raw)

tf.raw_ops.QueueEnqueueV2

Stay organized with collections Save and categorize content based on your preferences.

Enqueues a tuple of one or more tensors in the given queue.

View aliases

Compat aliases for migration

SeeMigration guide for more details.

tf.compat.v1.raw_ops.QueueEnqueueV2

tf.raw_ops.QueueEnqueueV2(
    handle, components, timeout_ms=-1, name=None
)

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
handle A Tensor of type resource. The handle to a queue.
components A list of Tensor objects. One or more tensors from which the enqueued tensors should be taken.
timeout_ms An optional int. Defaults to -1. If the queue is full, this operation will block for up to timeout_ms milliseconds. Note: This option is not supported yet.
name A name for the operation (optional).
Returns
The created Operation.

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 2024-04-26 UTC.