W3cubDocs

/TensorFlow C++

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)
If true, all pending enqueue requests that are blocked on the given queue will be cancelled.

Public attributes

cancel_pending_enqueues_

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

Public functions

CancelPendingEnqueues

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

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

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/queue-close/attrs.html