QueueEnqueue

public final class QueueEnqueue

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

Nested Classes

class QueueEnqueue.Options Optional attributes for QueueEnqueue  

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static QueueEnqueue
create(Scope scope, Operand<?> handle, Iterable<Operand<?>> components, Options... options)
Factory method to create a class wrapping a new QueueEnqueue operation.
static QueueEnqueue.Options
timeoutMs(Long timeoutMs)

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "QueueEnqueueV2"

Public Methods

public static QueueEnqueue create (Scope scope, Operand<?> handle, Iterable<Operand<?>> components, Options... options)

Factory method to create a class wrapping a new QueueEnqueue operation.

Parameters
scope current scope
handle The handle to a queue.
components One or more tensors from which the enqueued tensors should be taken.
options carries optional attributes values
Returns
  • a new instance of QueueEnqueue

public static QueueEnqueue.Options timeoutMs (Long timeoutMs)

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