#include <data_flow_ops.h>
Closes the given barrier.
This operation signals that no more new elements will be inserted in the given barrier. Subsequent InsertMany that try to introduce a new key will fail. Subsequent InsertMany operations that just add missing components to already existing elements will continue to succeed. Subsequent TakeMany operations will continue to succeed if sufficient completed elements remain in the barrier. Subsequent TakeMany operations that would block will fail immediately.
Arguments:
Optional attributes (see Attrs
):
Returns:
Operation
Constructors and Destructors | |
---|---|
BarrierClose(const ::tensorflow::Scope & scope, ::tensorflow::Input handle) | |
BarrierClose(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const BarrierClose::Attrs & attrs) |
Public attributes | |
---|---|
operation |
Public functions | |
---|---|
operator::tensorflow::Operation() const |
Public static functions | |
---|---|
CancelPendingEnqueues(bool x) |
Structs | |
---|---|
tensorflow::ops::BarrierClose::Attrs | Optional attribute setters for BarrierClose. |
Operation operation
BarrierClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle )
BarrierClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const BarrierClose::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/barrier-close.html