tensorflow:: אופס:: BarrierTakeMany:: Attrs

#include <data_flow_ops.h>

קובעי תכונות אופציונליים עבור BarrierTakeMany .

סיכום

תכונות ציבוריות

allow_small_batch_ = false
bool
timeout_ms_ = -1
int64
wait_for_incomplete_ = false
bool

תפקידים ציבוריים

AllowSmallBatch (bool x)
TF_MUST_USE_RESULT Attrs
אפשר להחזיר פחות מ-num_elements פריטים אם המחסום כבר סגור.
TimeoutMs (int64 x)
TF_MUST_USE_RESULT Attrs
אם התור ריק, פעולה זו תיחסם לעד timeout_ms אלפיות השנייה.
WaitForIncomplete (bool x)
TF_MUST_USE_RESULT Attrs
ברירת המחדל ל-false.

תכונות ציבוריות

allow_small_batch_

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

timeout_ms_

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

לחכות_ללא_שלם_

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

תפקידים ציבוריים

AllowSmallBatch

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

אפשר להחזיר פחות מ-num_elements פריטים אם המחסום כבר סגור.

ברירת המחדל ל-false

TimeoutMs

TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::TimeoutMs(
  int64 x
)

אם התור ריק, פעולה זו תיחסם לעד timeout_ms אלפיות השנייה.

הערה: אפשרות זו אינה נתמכת עדיין.

ברירת המחדל היא -1

WaitForIncomplete

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

ברירת המחדל ל-false.