tensorflow::ops::QueueClose::Attrs

#include <data_flow_ops.h>

Optional attribute setters for QueueClose.

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 given queue will be canceled.

Public attributes

cancel_pending_enqueues_

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

Public functions

CancelPendingEnqueues

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

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

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/r2.3/api_docs/cc/struct/tensorflow/ops/queue-close/attrs