جریان تنسور:: عملیات:: صف بستن:: Attrs
#include <data_flow_ops.h>
تنظیم کننده های ویژگی اختیاری برای QueueClose .
خلاصه
صفات عمومی | |
---|---|
cancel_pending_enqueues_ = false | bool |
توابع عمومی | |
---|---|
CancelPendingEnqueues (bool x) | TF_MUST_USE_RESULT Attrs اگر درست باشد، تمام درخواستهای صف معلق که در صف معین مسدود شدهاند، لغو خواهند شد. |
صفات عمومی
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 )
اگر درست باشد، تمام درخواستهای صف معلق که در صف معین مسدود شدهاند، لغو خواهند شد.
پیش فرض به نادرست
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-26 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-26 بهوقت ساعت هماهنگ جهانی."],[],[],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.3/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.3/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"]]