Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: Sıra Kapatma:: Öznitelikler
#include <data_flow_ops.h>
QueueClose için isteğe bağlı öznitelik ayarlayıcılar.
Özet
Kamu işlevleri |
---|
CancelPendingEnqueues (bool x) | Doğruysa, belirli kuyrukta engellenen tüm beklemedeki sıraya alma istekleri iptal edilecektir. |
Genel özellikler
cancel_pending_enqueues_
bool tensorflow::ops::QueueClose::Attrs::cancel_pending_enqueues_ = false
Kamu işlevleri
İptalBeklemedeSıralamalar
TF_MUST_USE_RESULT Attrs tensorflow::ops::QueueClose::Attrs::CancelPendingEnqueues(
bool x
)
Doğruysa, belirli kuyrukta engellenen tüm beklemedeki sıraya alma istekleri iptal edilecektir.
Varsayılanlar yanlıştır
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::QueueClose::Attrs Struct Reference\n\ntensorflow::ops::QueueClose::Attrs\n==================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOptional attribute setters for [QueueClose](/versions/r2.1/api_docs/cc/class/tensorflow/ops/queue-close#classtensorflow_1_1ops_1_1_queue_close).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------------|--------|\n| [cancel_pending_enqueues_](#structtensorflow_1_1ops_1_1_queue_close_1_1_attrs_1a4f65e814e9ccf5bb93dbc6684967079a)` = false` | `bool` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CancelPendingEnqueues](#structtensorflow_1_1ops_1_1_queue_close_1_1_attrs_1a6df78312f774a666b651320ee188550b)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/queue-close/attrs#structtensorflow_1_1ops_1_1_queue_close_1_1_attrs) If true, all pending enqueue requests that are blocked on the given queue will be canceled. |\n\nPublic attributes\n-----------------\n\n### cancel_pending_enqueues_\n\n```scdoc\nbool tensorflow::ops::QueueClose::Attrs::cancel_pending_enqueues_ = false\n``` \n\nPublic functions\n----------------\n\n### CancelPendingEnqueues\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QueueClose::Attrs::CancelPendingEnqueues(\n bool x\n)\n``` \nIf true, all pending enqueue requests that are blocked on the given queue will be canceled.\n\nDefaults to false"]]