텐서플로우:: ops:: BarrierClose

#include <data_flow_ops.h>

주어진 장벽을 닫습니다.

요약

이 작업은 지정된 영역에 더 이상 새로운 요소를 삽입하지 않음을 나타냅니다. 이후 새 키를 삽입하려는 InsertMany 작업은 실패합니다. 누락된 구성 요소를 기존 요소에 추가하는 InsertMany 작업은 계속 성공합니다. 영역에 충분한 완성된 요소가 남아 있는 경우 TakeMany 작업도 계속 성공합니다. 이후 TakeMany 작업이 차단되는 경우 즉시 실패합니다.

논거:

  • 범위: Scope 객체
  • 손잡이: 장벽의 손잡이.

선택적 속성( 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)

구조

텐서플로우:: ops:: BarrierClose:: Attrs

BarrierClose 에 대한 선택적 속성 설정기입니다.

공개 속성

작업

Operation operation

공공 기능

장벽 닫기

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

장벽 닫기

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

연산자::텐서플로우::작업

 operator::tensorflow::Operation() const 

공개 정적 함수

CancelPendingEnqueues

Attrs CancelPendingEnqueues(
  bool x
)