Spec-Zone.ru › TensorFlow C++

tensorflow::ops::QueueClose::Attrs

#include <data_flow_ops.h>

Необязательные методы установки атрибутов для QueueClose.

Краткое описание

Открытые атрибуты
cancel_pending_enqueues_ = false
bool
Открытые функции
CancelPendingEnqueues(bool x)
TF_MUST_USE_RESULT Attrs
Если значение равно true, все ожидающие запросы на добавление в очередь, заблокированные в указанной очереди, будут отменены.

Открытые атрибуты

cancel_pending_enqueues_

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

Открытые функции

CancelPendingEnqueues

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

Если значение равно true, все ожидающие запросы на добавление в очередь, заблокированные в указанной очереди, будут отменены.

По умолчанию — 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/queue-close/attrs

Spec-Zone.ru

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