Dequeues a tuple of one or more tensors from the given queue.
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).
Nested Classes
class | QueueDequeue.Options | Optional attributes for QueueDequeue
|
Constants
String | OP_NAME | The name of this op, as known by TensorFlow core engine |
Public Methods
List<Output<?>> |
components()
One or more tensors that were dequeued as a tuple.
|
static QueueDequeue |
create(Scope scope, Operand<?> handle, List<Class<? extends TType>> componentTypes, Options... options)
Factory method to create a class wrapping a new QueueDequeue operation.
|
Iterator<Operand<TType>> |
iterator()
|
static QueueDequeue.Options |
timeoutMs(Long timeoutMs)
|
Inherited Methods
Constants
public static final String OP_NAME
The name of this op, as known by TensorFlow core engine
Public Methods
public static QueueDequeue create (Scope scope, Operand<?> handle, List<Class<? extends TType>> componentTypes, Options... options)
Factory method to create a class wrapping a new QueueDequeue operation.
Parameters
scope | current scope |
---|---|
handle | The handle to a queue. |
componentTypes | The type of each component in a tuple. |
options | carries optional attributes values |
Returns
- a new instance of QueueDequeue
public static QueueDequeue.Options timeoutMs (Long timeoutMs)
Parameters
timeoutMs | If the queue is empty, this operation will block for up to timeout_ms milliseconds. Note: This option is not supported yet. |
---|