#include <data_flow_ops.h>
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.
Arguments:
Optional attributes (see Attrs
):
Returns:
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::ops::QueueClose::Attrs | Optional attribute setters for QueueClose. |
Operation operation
QueueClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle )
QueueClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const QueueClose::Attrs & attrs )
operator::tensorflow::Operation() const
Attrs CancelPendingEnqueues( bool x )
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/queue-close.html