W3cubDocs

/TensorFlow C++

tensorflow::ops::BarrierClose::Attrs

#include <data_flow_ops.h>

Optional attribute setters for BarrierClose.

Summary

Public attributes
cancel_pending_enqueues_ = false
bool
Public functions
CancelPendingEnqueues(bool x)
If true, all pending enqueue requests that are blocked on the barrier's queue will be cancelled.

Public attributes

cancel_pending_enqueues_

bool tensorflow::ops::BarrierClose::Attrs::cancel_pending_enqueues_ = false

Public functions

CancelPendingEnqueues

Attrs tensorflow::ops::BarrierClose::Attrs::CancelPendingEnqueues(
  bool x
)

If true, all pending enqueue requests that are blocked on the barrier's queue will be cancelled.

InsertMany will fail, even if no new key is introduced.

Defaults to false

© 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.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/barrier-close/attrs.html