텐서플로우:: 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
불완전한 것을 기다리세요
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입니다.
미완료를 기다리세요
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::WaitForIncomplete( bool x )
기본값은 false입니다.