Spec-Zone.ru › TensorFlow C++ 2.3

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

© 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/barrier-close/attrs

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API