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