tensorflow::ops::QueueDequeue

#include <data_flow_ops.h>

Dequeues a tuple of one or more tensors from the given queue.

Summary

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).

Arguments:

  • scope: A Scope object
  • handle: The handle to a queue.
  • component_types: The type of each component in a tuple.

Optional attributes (see Attrs):

  • timeout_ms: If the queue is empty, this operation will block for up to timeout_ms milliseconds. Note: This option is not supported yet.

Returns:

  • OutputList: One or more tensors that were dequeued as a tuple.

Constructors and Destructors

QueueDequeue(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const DataTypeSlice & component_types)
QueueDequeue(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const DataTypeSlice & component_types, const QueueDequeue::Attrs & attrs)

Public attributes

components
operation

Public functions

operator[](size_t index) const

Public static functions

TimeoutMs(int64 x)

Structs

tensorflow::ops::QueueDequeue::Attrs

Optional attribute setters for QueueDequeue.

Public attributes

components

::tensorflow::OutputList components

operation

Operation operation

Public functions

QueueDequeue

 QueueDequeue(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  const DataTypeSlice & component_types
)

QueueDequeue

 QueueDequeue(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  const DataTypeSlice & component_types,
  const QueueDequeue::Attrs & attrs
)

operator[]

::tensorflow::Output operator[](
  size_t index
) const 

Public static functions

TimeoutMs

Attrs TimeoutMs(
  int64 x
)