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

tensorflow :: ops :: 중단

#include <control_flow_ops.h>

호출시 프로세스를 중단하려면 예외를 발생시킵니다.

요약

exit_without_error가 참이면 프로세스가 정상적으로 종료되고 그렇지 않으면 SIGABORT 신호와 함께 종료됩니다.

예외 만 반환합니다.

인수 :

선택적 속성 ( Attrs 참조) :

  • error_msg : 예외와 관련된 메시지 인 문자열.

보고:

생성자와 소멸자

Abort (const :: tensorflow::Scope & scope)
Abort (const :: tensorflow::Scope & scope, const Abort::Attrs & attrs)

공용 속성

operation

공공 기능

operator::tensorflow::Operation () const

공개 정적 함수

ErrorMsg (StringPiece x)
ExitWithoutError (bool x)

구조체

tensorflow :: ops :: Abort :: Attrs

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

공용 속성

조작

Operation operation

공공 기능

중단

 Abort(
  const ::tensorflow::Scope & scope
)

중단

 Abort(
  const ::tensorflow::Scope & scope,
  const Abort::Attrs & attrs
)

operator :: tensorflow :: Operation

 operator::tensorflow::Operation() const 

공개 정적 함수

ErrorMsg

Attrs ErrorMsg(
  StringPiece x
)

ExitWithoutError

Attrs ExitWithoutError(
  bool x
)