Closes the given queue.
This operation signals that no more elements will be enqueued in the given queue. Subsequent Enqueue(Many) operations will fail. Subsequent Dequeue(Many) operations will continue to succeed if sufficient elements remain in the queue. Subsequent Dequeue(Many) operations that would block will fail immediately.
Nested Classes
class | QueueClose.Options | Optional attributes for QueueClose
|
Constants
String | OP_NAME | The name of this op, as known by TensorFlow core engine |
Public Methods
static QueueClose.Options |
cancelPendingEnqueues(Boolean cancelPendingEnqueues)
|
static QueueClose |
create(Scope scope, Operand<?> handle, Options... options)
Factory method to create a class wrapping a new QueueClose operation.
|
Inherited Methods
Constants
public static final String OP_NAME
The name of this op, as known by TensorFlow core engine
Public Methods
public static QueueClose.Options cancelPendingEnqueues (Boolean cancelPendingEnqueues)
Parameters
cancelPendingEnqueues | If true, all pending enqueue requests that are blocked on the given queue will be canceled. |
---|
public static QueueClose create (Scope scope, Operand<?> handle, Options... options)
Factory method to create a class wrapping a new QueueClose operation.
Parameters
scope | current scope |
---|---|
handle | The handle to a queue. |
options | carries optional attributes values |
Returns
- a new instance of QueueClose