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
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
abstract ExecutionEnvironment |
env()
Return the execution environment this op was created in.
|
abstract Operation |
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