QueueEnqueueMany

public final class QueueEnqueueMany

Enqueues zero or more tuples of one or more tensors in the given queue.

This operation slices each component tensor along the 0th dimension to make multiple queue elements. All of the tuple components must have the same size in the 0th dimension.

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 elements have been enqueued (or 'timeout_ms' elapses, if specified).

Nested Classes

class QueueEnqueueMany.Options Optional attributes for QueueEnqueueMany

Constants

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

Public Methods

static QueueEnqueueMany
create ( Scope scope, Operand <?> handle, Iterable< Operand <?>> components, Options... options)
Factory method to create a class wrapping a new QueueEnqueueMany operation.
static QueueEnqueueMany.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: "QueueEnqueueManyV2"

Public Methods

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

Factory method to create a class wrapping a new QueueEnqueueMany 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 QueueEnqueueMany

public static QueueEnqueueMany.Options timeoutMs (Long timeoutMs)

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