संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: बैरियर बंद करें:: Attrs
#include <data_flow_ops.h>
BarrierClose के लिए वैकल्पिक विशेषता सेटर।
सारांश
सार्वजनिक समारोह |
---|
CancelPendingEnqueues (bool x) | यदि सत्य है, तो बैरियर की कतार पर अवरुद्ध सभी लंबित एनक्यू अनुरोध रद्द कर दिए जाएंगे। |
सार्वजनिक गुण
रद्द_लंबित_एनक्यूज़_
bool tensorflow::ops::BarrierClose::Attrs::cancel_pending_enqueues_ = false
सार्वजनिक समारोह
लंबित कतारें रद्द करें
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierClose::Attrs::CancelPendingEnqueues(
bool x
)
यदि सत्य है, तो बैरियर की कतार पर अवरुद्ध सभी लंबित एनक्यू अनुरोध रद्द कर दिए जाएंगे।
InsertMany विफल हो जाएगा, भले ही कोई नई कुंजी पेश न की गई हो।
डिफ़ॉल्ट से असत्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# tensorflow::ops::BarrierClose::Attrs Struct Reference\n\ntensorflow::ops::BarrierClose::Attrs\n====================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOptional attribute setters for [BarrierClose](/versions/r1.15/api_docs/cc/class/tensorflow/ops/barrier-close#classtensorflow_1_1ops_1_1_barrier_close).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------------|--------|\n| [cancel_pending_enqueues_](#structtensorflow_1_1ops_1_1_barrier_close_1_1_attrs_1ab1dc592b05a8bb3491a8230b43ea719c)` = false` | `bool` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CancelPendingEnqueues](#structtensorflow_1_1ops_1_1_barrier_close_1_1_attrs_1a40057f3edbb48bbc7756552300b69689)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/barrier-close/attrs#structtensorflow_1_1ops_1_1_barrier_close_1_1_attrs) If true, all pending enqueue requests that are blocked on the barrier's queue will be canceled. |\n\nPublic attributes\n-----------------\n\n### cancel_pending_enqueues_\n\n```scdoc\nbool tensorflow::ops::BarrierClose::Attrs::cancel_pending_enqueues_ = false\n``` \n\nPublic functions\n----------------\n\n### CancelPendingEnqueues\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierClose::Attrs::CancelPendingEnqueues(\n bool x\n)\n``` \nIf true, all pending enqueue requests that are blocked on the barrier's queue will be canceled.\n\nInsertMany will fail, even if no new key is introduced.\n\nDefaults to false"]]