Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::ops::Abort::Attrs

#include <control_flow_ops.h>

Дополнительные атрибуты для Abort.

Краткое описание

Общедоступные атрибуты
error_msg_ = ""
StringPiece
exit_without_error_ = false
bool
Общедоступные функции
ErrorMsg(StringPiece x)
TF_MUST_USE_RESULT Attrs
Строка, являющаяся сообщением, связанным с исключением.
ExitWithoutError(bool x)
TF_MUST_USE_RESULT Attrs
По умолчанию false.

Общедоступные атрибуты

error_msg_

StringPiece tensorflow::ops::Abort::Attrs::error_msg_ = ""

exit_without_error_

bool tensorflow::ops::Abort::Attrs::exit_without_error_ = false

Общедоступные функции

ErrorMsg

TF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ErrorMsg(
  StringPiece x
)

Строка, являющаяся сообщением, связанным с исключением.

По умолчанию ""

ExitWithoutError

TF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ExitWithoutError(
  bool x
)

По умолчанию false.

© 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/struct/tensorflow/ops/abort/attrs

Spec-Zone.ru

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