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.