tf.raw_ops.Abort

Raise a exception to abort the process when called.

tf.raw_ops.Abort(
    error_msg='', exit_without_error=False, name=None
)

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:

  • error_msg: An optional string. Defaults to "". A string which is the message associated with the exception.
  • exit_without_error: An optional bool. Defaults to False.
  • name: A name for the operation (optional).

Returns:

The created Operation.