텐서플로우:: 작전:: BarrierTakeMany:: 속성

#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
기본값은 거짓입니다.

공개 속성

허용_소형_배치_

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

공공 기능

작은 배치 허용

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

장벽이 이미 닫힌 경우 num_elements개 미만의 항목을 반환하도록 허용합니다.

기본값은 거짓

시간 초과(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
)

기본값은 거짓입니다.