#include <control_flow_ops.h>
Raise a exception to abort the process when called.
If exit_without_error is true, the process will exit normally, otherwise it will exit with a SIGABORT signal.
Returns nothing but an exception.
Arguments:
Optional attributes (see Attrs
):
Returns:
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::ops::Abort::Attrs | Optional attribute setters for Abort. |
Operation operation
Abort( const ::tensorflow::Scope & scope )
Abort( const ::tensorflow::Scope & scope, const Abort::Attrs & attrs )
operator::tensorflow::Operation() const
Attrs ErrorMsg( StringPiece x )
Attrs ExitWithoutError( bool x )
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/abort.html