On this page
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. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/raw_ops/Abort