Spec-Zone.ru › TensorFlow C++ 2.4

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
Operation
Общедоступные функции
operator::tensorflow::Operation() const
Общедоступные статические функции
ErrorMsg(StringPiece x)
Attrs
ExitWithoutError(bool x)
Attrs
Структуры
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 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/abort

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API