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.
Optional attributes (see
|Constructors and Destructors|
|Public static functions|
Optional attribute setters for BarrierClose.
BarrierClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle )
BarrierClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const BarrierClose::Attrs & attrs )
Attrs CancelPendingEnqueues( bool x )
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.