tensorflow:: ops:: 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です。 |
公開属性
小規模バッチを許可する
bool tensorflow::ops::BarrierTakeMany::Attrs::allow_small_batch_ = false
タイムアウト_ms_
int64 tensorflow::ops::BarrierTakeMany::Attrs::timeout_ms_ = -1
wait_for_incomplete_
bool tensorflow::ops::BarrierTakeMany::Attrs::wait_for_incomplete_ = false
公的機能
小バッチを許可
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::AllowSmallBatch( bool x )
バリアが既に閉じている場合、num_elements 個未満のアイテムを返すことを許可する。
デフォルトはfalse
タイムアウトMs
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です。