تدفق التوتر:: العمليات:: إغلاق الحاجز:: أترز
#include <data_flow_ops.h>
محددات السمات الاختيارية لـ BarrierClose .
ملخص
الصفات العامة | |
---|---|
cancel_pending_enqueues_ = false | bool |
الوظائف العامة | |
---|---|
CancelPendingEnqueues (bool x) | TF_MUST_USE_RESULT Attrs إذا كان هذا صحيحًا، فسيتم إلغاء كافة طلبات قائمة الانتظار المعلقة التي تم حظرها في قائمة انتظار الحاجز. |
الصفات العامة
إلغاء_في انتظار_قائمة الانتظار_
bool tensorflow::ops::BarrierClose::Attrs::cancel_pending_enqueues_ = false
الوظائف العامة
CancelPendingEnqueues
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierClose::Attrs::CancelPendingEnqueues( bool x )
إذا كان هذا صحيحًا، فسيتم إلغاء كافة طلبات قائمة الانتظار المعلقة التي تم حظرها في قائمة انتظار الحاجز.
سوف يفشل برنامج InsertMany، حتى لو لم يتم تقديم مفتاح جديد.
الافتراضيات كاذبة
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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"]]