tensorflow::
ops::
QueueClose
#include <data_flow_ops.h>
Closes the given queue.
Summary
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.
Args:
- scope: A Scope object
- handle: The handle to a queue.
Optional attributes (see
Attrs
):
- cancel_pending_enqueues: If true, all pending enqueue requests that are blocked on the given queue will be canceled.
Returns:
-
the created
Operation
Constructors and Destructors |
|
---|---|
QueueClose
(const ::
tensorflow::Scope
& scope, ::
tensorflow::Input
handle)
|
|
QueueClose
(const ::
tensorflow::Scope
& scope, ::
tensorflow::Input
handle, const
QueueClose::Attrs
& attrs)
|
Public attributes |
|
---|---|
operation
|
Public functions |
|
---|---|
operator::tensorflow::Operation
() const
|
|
Public static functions |
|
---|---|
CancelPendingEnqueues
(bool x)
|
Structs |
|
---|---|
tensorflow::
|
Optional attribute setters for QueueClose . |
Public attributes
Public functions
QueueClose
QueueClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const QueueClose::Attrs & attrs )
operator::tensorflow::Operation
operator::tensorflow::Operation() const