tf.raw_ops.QueueDequeue
Stay organized with collections
Save and categorize content based on your preferences.
Dequeues a tuple of one or more tensors from the given queue.
tf.raw_ops.QueueDequeue(
handle, component_types, timeout_ms=-1, name=None
)
This operation has k outputs, where k is the number of components
in the tuples stored in the given queue, and output i is the ith
component of the dequeued tuple.
N.B. If the queue is empty, this operation will block until an element
has been dequeued (or 'timeout_ms' elapses, if specified).
Args |
handle
|
A Tensor of type mutable string . The handle to a queue.
|
component_types
|
A list of tf.DTypes that has length >= 1 .
The type of each component in a tuple.
|
timeout_ms
|
An optional int . Defaults to -1 .
If the queue is empty, 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 |
A list of Tensor objects of type component_types .
|
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 2022-10-27 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 2022-10-27 UTC."],[],[]]