tensorflow:: ops:: Abort

#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)

構造

tensorflow:: ops:: Abort:: Attrs

Abortのオプション属性セッター。

公開属性

手術

Operation operation

公的機能

アボート

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

アボート

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

オペレーター::tensorflow::Operation

 operator::tensorflow::Operation() const 

パブリック静的関数

エラーメッセージ

Attrs ErrorMsg(
  StringPiece x
)

エラーなく終了

Attrs ExitWithoutError(
  bool x
)