Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::BarrierClose::Attrs
#include <data_flow_ops.h>
Optional attribute setters for BarrierClose.
Summary
Public functions
|
CancelPendingEnqueues(bool x)
|
If true, all pending enqueue requests that are blocked on the barrier's queue will be canceled.
|
Public attributes
cancel_pending_enqueues_
bool tensorflow::ops::BarrierClose::Attrs::cancel_pending_enqueues_ = false
Public functions
CancelPendingEnqueues
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierClose::Attrs::CancelPendingEnqueues(
bool x
)
If true, all pending enqueue requests that are blocked on the barrier's queue will be canceled.
InsertMany will fail, even if no new key is introduced.
Defaults to false
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 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"]]