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:
- scope: A Scope object
Optional attributes (see
Attrs
):
- error_msg: A string which is the message associated with the exception.
Returns:
-
the created
Operation
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::
|
Optional attribute setters for Abort . |
Public attributes
Public functions
operator::tensorflow::Operation
operator::tensorflow::Operation() const