텐서플로우:: 작업:: 중단

#include <control_flow_ops.h>

호출 시 예외를 발생시켜 프로세스를 중단합니다.

요약

exit_without_error가 true이면 프로세스는 정상적으로 종료되고, 그렇지 않으면 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)

구조

텐서플로우:: 작업:: 중단:: 속성

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

공개 속성

작업

Operation operation

공공 기능

중단하다

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

중단하다

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

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

 operator::tensorflow::Operation() const 

공개 정적 함수

오류 메시지

Attrs ErrorMsg(
  StringPiece x
)

오류 없이 종료

Attrs ExitWithoutError(
  bool x
)