tensorflow::ops::Abort
#include <control_flow_ops.h>
Вызвать исключение для прерывания процесса при вызове.
Краткое описание
Если exit_without_error имеет значение true, процесс завершится нормально, в противном случае он завершится с сигналом SIGABORT.
Возвращает только исключение.
Аргументы:
- scope: Объект Scope
Дополнительные атрибуты (см. Attrs):
- error_msg: Строка, которая является сообщением, связанным с исключением.
Возвращает:
- созданный
Operation
| Конструкторы и деструкторы | |
|---|---|
Abort(const ::tensorflow::Scope & scope) |
|
Abort(const ::tensorflow::Scope & scope, const Abort::Attrs & attrs) |
| Общедоступные атрибуты | |
|---|---|
operation |
|
| Общедоступные функции | |
|---|---|
operator::tensorflow::Operation() const |
|
| Общедоступные статические функции | |
|---|---|
ErrorMsg(StringPiece x) |
|
ExitWithoutError(bool x) |
|
| Структуры | |
|---|---|
| tensorflow::ops::Abort::Attrs | Дополнительные атрибуты-установщики для Abort. |
Общедоступные атрибуты
operation
Operation operation
Общедоступные функции
Abort
Abort( const ::tensorflow::Scope & scope )
Abort
Abort( const ::tensorflow::Scope & scope, const Abort::Attrs & attrs )
Оператор::tensorflow::Operation
operator::tensorflow::Operation() const
Общедоступные статические функции
ErrorMsg
Attrs ErrorMsg( StringPiece x )
ExitWithoutError
Attrs ExitWithoutError( bool x )
© 2020 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/versions/r1.15/api_docs/cc/class/tensorflow/ops/abort