tensorflow::ops::BarrierClose::Attrs
#include <data_flow_ops.h>
Дополнительные атрибуты для BarrierClose.
Краткое описание
| Публичные атрибуты | |
|---|---|
cancel_pending_enqueues_ = false | bool |
| Публичные функции | |
|---|---|
CancelPendingEnqueues(bool x) | TF_MUST_USE_RESULT Attrs Если true, все ожидающие запросы enqueue, заблокированные в очереди барьера, будут отменены. |
Публичные атрибуты
cancel_pending_enqueues_
bool tensorflow::ops::BarrierClose::Attrs::cancel_pending_enqueues_ = false
Публичные функции
CancelPendingEnqueues
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierClose::Attrs::CancelPendingEnqueues( bool x )
Если true, все ожидающие запросы enqueue, заблокированные в очереди барьера, будут отменены.
InsertMany завершится с ошибкой, даже если новый ключ не введен.
По умолчанию false
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/barrier-close/attrs