コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::キュークローズ::属性
#include <data_flow_ops.h>
QueueCloseのオプションの属性セッター。
まとめ
パブリック属性
cancel_pending_enqueues_
bool tensorflow::ops::QueueClose::Attrs::cancel_pending_enqueues_ = false
公共機能
キャンセル保留中エンキュー
TF_MUST_USE_RESULT Attrs tensorflow::ops::QueueClose::Attrs::CancelPendingEnqueues(
bool x
)
true の場合、指定されたキューでブロックされているすべての保留中のエンキュー要求がキャンセルされます。
デフォルトは false
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 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"]]