Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::Abort::Attrs
#include <control_flow_ops.h>
Optional attribute setters for Abort.
Summary
Public functions
|
ErrorMsg(StringPiece x)
|
A string which is the message associated with the exception.
|
ExitWithoutError(bool x)
|
Defaults to false.
|
Public attributes
error_msg_
StringPiece tensorflow::ops::Abort::Attrs::error_msg_ = ""
exit_without_error_
bool tensorflow::ops::Abort::Attrs::exit_without_error_ = false
Public functions
ErrorMsg
TF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ErrorMsg(
StringPiece x
)
A string which is the message associated with the exception.
Defaults to ""
ExitWithoutError
TF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ExitWithoutError(
bool x
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[null,null,["Last updated 2021-11-15 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](/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](/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](/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."]]