컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텐서플로우:: 작전:: 중단:: 속성
#include <control_flow_ops.h>
Abort 에 대한 선택적 속성 설정자입니다.
요약
공개 속성
error_msg_
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
)
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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."]]