Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: İptal:: Öznitelikler
#include <control_flow_ops.h>
Abort için isteğe bağlı özellik ayarlayıcılar.
Özet
Kamu işlevleri |
---|
ErrorMsg (StringPiece x) | İstisnayla ilişkili mesajın bulunduğu bir dize. |
ExitWithoutError (bool x) | Varsayılan olarak false olur. |
Genel özellikler
error_msg_
StringPiece tensorflow::ops::Abort::Attrs::error_msg_ = ""
çıkış_without_error_
bool tensorflow::ops::Abort::Attrs::exit_without_error_ = false
Kamu işlevleri
Hata Mesajı
TF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ErrorMsg(
StringPiece x
)
İstisnayla ilişkili mesajın bulunduğu bir dize.
Varsayılan olarak ""
Hatasız Çıkış
TF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ExitWithoutError(
bool x
)
Varsayılan olarak false olur.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 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/r2.2/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/r2.2/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/r2.2/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."]]