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)
TF_MUST_USE_RESULT Attrs
If true, all pending enqueue requests that are blocked on the barrier's queue will be canceled.

Public attributes

cancel_pending_enqueues_

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

Public functions

CancelPendingEnqueues

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

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

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

Defaults to false

© 2020 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/versions/r1.15/api_docs/cc/struct/tensorflow/ops/barrier-close/attrs