#include <data_flow_ops.h>
Optional attribute setters for BarrierTakeMany.
Public attributes | |
---|---|
allow_small_batch_ = false | bool |
timeout_ms_ = -1 | int64 |
wait_for_incomplete_ = false | bool |
Public functions | |
---|---|
AllowSmallBatch(bool x) | TF_MUST_USE_RESULT Attrs Allow to return less than num_elements items if barrier is already closed. |
TimeoutMs(int64 x) | TF_MUST_USE_RESULT Attrs If the queue is empty, this operation will block for up to timeout_ms milliseconds. |
WaitForIncomplete(bool x) | TF_MUST_USE_RESULT Attrs Defaults to false. |
bool tensorflow::ops::BarrierTakeMany::Attrs::allow_small_batch_ = false
int64 tensorflow::ops::BarrierTakeMany::Attrs::timeout_ms_ = -1
bool tensorflow::ops::BarrierTakeMany::Attrs::wait_for_incomplete_ = false
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::AllowSmallBatch( bool x )
Allow to return less than num_elements items if barrier is already closed.
Defaults to false
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::TimeoutMs( int64 x )
If the queue is empty, this operation will block for up to timeout_ms milliseconds.
Note: This option is not supported yet.
Defaults to -1
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::WaitForIncomplete( bool x )
Defaults to false.
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/barrier-take-many/attrs.html