テンソルフロー::作戦::アボート

#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::オペレーション

 operator::tensorflow::Operation() const 

パブリック静的関数

エラーメッセージ

Attrs ErrorMsg(
  StringPiece x
)

エラーなしで終了

Attrs ExitWithoutError(
  bool x
)

テンソルフロー::作戦::アボート

#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::オペレーション

 operator::tensorflow::Operation() const 

パブリック静的関数

エラーメッセージ

Attrs ErrorMsg(
  StringPiece x
)

エラーなしで終了

Attrs ExitWithoutError(
  bool x
)