W3cubDocs

/TensorFlow 2.4

tf.raw_ops.QueueEnqueueV2

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

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.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/QueueEnqueueV2