tensorflow::ops::Abort

#include <control_flow_ops.h>

Raise a exception to abort the process when called.

Summary

If exit_without_error is true, the process will exit normally, otherwise it will exit with a SIGABORT signal.

Returns nothing but an exception.

Args:

Optional attributes (see Attrs):

  • error_msg: A string which is the message associated with the exception.

Returns:

Constructors and Destructors

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

Public attributes

operation

Public functions

operator::tensorflow::Operation() const

Public static functions

ErrorMsg(StringPiece x)
ExitWithoutError(bool x)

Structs

tensorflow::ops::Abort::Attrs

Optional attribute setters for Abort.

Public attributes

operation

Operation operation

Public functions

Abort

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

Abort

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

operator::tensorflow::Operation

 operator::tensorflow::Operation() const 

Public static functions

ErrorMsg

Attrs ErrorMsg(
  StringPiece x
)

ExitWithoutError

Attrs ExitWithoutError(
  bool x
)