tensorflow::ops::BarrierTakeMany::Attrs

tensorflow::ops::BarrierTakeMany::Attrs

#include <data_flow_ops.h>

Optional attribute setters for BarrierTakeMany.

Summary

Public attributes
allow_small_batch_ = false
bool
timeout_ms_ = -1
int64
wait_for_incomplete_ = false
bool
Public functions
AllowSmallBatch(bool x)
Allow to return less than num_elements items if barrier is already closed.
TimeoutMs(int64 x)
If the queue is empty, this operation will block for up to timeout_ms milliseconds.
WaitForIncomplete(bool x)
Defaults to false.

Public attributes

allow_small_batch_

bool tensorflow::ops::BarrierTakeMany::Attrs::allow_small_batch_ = false

timeout_ms_

int64 tensorflow::ops::BarrierTakeMany::Attrs::timeout_ms_ = -1

wait_for_incomplete_

bool tensorflow::ops::BarrierTakeMany::Attrs::wait_for_incomplete_ = false

Public functions

AllowSmallBatch

Attrs tensorflow::ops::BarrierTakeMany::Attrs::AllowSmallBatch(
  bool x
)

Allow to return less than num_elements items if barrier is already closed.

Defaults to false

TimeoutMs

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

WaitForIncomplete

Attrs tensorflow::ops::BarrierTakeMany::Attrs::WaitForIncomplete(
  bool x
)

Defaults to false.

© 2017 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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部