コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::アボート::属性
#include <control_flow_ops.h>
Abortのオプションの属性セッター。
まとめ
パブリック属性
エラーメッセージ_
StringPiece tensorflow::ops::Abort::Attrs::error_msg_ = ""
エラーなしで終了_
bool tensorflow::ops::Abort::Attrs::exit_without_error_ = false
公共機能
エラーメッセージ
TF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ErrorMsg(
StringPiece x
)
例外に関連付けられたメッセージを表す文字列。
デフォルトは「」です
エラーなしで終了
TF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ExitWithoutError(
bool x
)
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],[],null,["# tensorflow::ops::Abort::Attrs Struct Reference\n\ntensorflow::ops::Abort::Attrs\n=============================\n\n`#include \u003ccontrol_flow_ops.h\u003e`\n\nOptional attribute setters for [Abort](/versions/r1.15/api_docs/cc/class/tensorflow/ops/abort#classtensorflow_1_1ops_1_1_abort).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------|---------------|\n| [error_msg_](#structtensorflow_1_1ops_1_1_abort_1_1_attrs_1a8e6778ce0cc69ac4c93f8487b050178b)` = \"\"` | `StringPiece` |\n| [exit_without_error_](#structtensorflow_1_1ops_1_1_abort_1_1_attrs_1af8b1af887b1e0ee0a1700b63a6bbb0ed)` = false` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ErrorMsg](#structtensorflow_1_1ops_1_1_abort_1_1_attrs_1a70ea437886112efadb8d0bc28610166b)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/abort/attrs#structtensorflow_1_1ops_1_1_abort_1_1_attrs) A string which is the message associated with the exception. |\n| [ExitWithoutError](#structtensorflow_1_1ops_1_1_abort_1_1_attrs_1abf792ac0d80e8bbe8cac55b0b54cdf9a)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/abort/attrs#structtensorflow_1_1ops_1_1_abort_1_1_attrs) Defaults to false. |\n\nPublic attributes\n-----------------\n\n### error_msg_\n\n```scdoc\nStringPiece tensorflow::ops::Abort::Attrs::error_msg_ = \"\"\n``` \n\n### exit_without_error_\n\n```scdoc\nbool tensorflow::ops::Abort::Attrs::exit_without_error_ = false\n``` \n\nPublic functions\n----------------\n\n### ErrorMsg\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ErrorMsg(\n StringPiece x\n)\n``` \nA string which is the message associated with the exception.\n\nDefaults to \"\" \n\n### ExitWithoutError\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ExitWithoutError(\n bool x\n)\n``` \nDefaults to false."]]