Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: BarrierClose

#include <data_flow_ops.h>

주어진 장벽을 닫습니다.

요약

이 작업은 주어진 장벽에 더 이상 새로운 요소가 삽입되지 않음을 나타냅니다. 후속 삽입 새 키를 도입하려는 많은 사람이 실패합니다. 후속 삽입 이미 존재하는 요소에 누락 된 구성 요소를 추가하는 많은 작업이 계속 성공합니다. 충분한 완료된 요소가 장벽에 남아 있으면 후속 TakeMany 작업은 계속 성공할 것입니다. 차단되는 후속 TakeMany 작업은 즉시 실패합니다.

인수 :

  • 범위 : 범위 개체
  • 핸들 : 장벽에 대한 핸들입니다.

선택적 속성 ( Attrs 참조) :

  • cancel_pending_enqueues : true이면 장벽의 대기열에서 차단 된 대기중인 모든 대기열에 넣기 요청이 취소됩니다. 새 키가 도입되지 않은 경우에도 InsertMany는 실패합니다.

보고:

생성자와 소멸자

BarrierClose (const :: tensorflow::Scope & scope, :: tensorflow::Input handle)
BarrierClose (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, const BarrierClose::Attrs & attrs)

공용 속성

operation

공공 기능

operator::tensorflow::Operation () const

공개 정적 함수

CancelPendingEnqueues (bool x)

구조체

tensorflow :: ops :: BarrierClose :: 속성

BarrierClose에 대한 선택적 속성 설정자.

공용 속성

조작

Operation operation

공공 기능

BarrierClose

 BarrierClose(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle
)

BarrierClose

 BarrierClose(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  const BarrierClose::Attrs & attrs
)

operator :: tensorflow :: Operation

 operator::tensorflow::Operation() const 

공개 정적 함수

CancelPendingEnqueues

Attrs CancelPendingEnqueues(
  bool x
)