تينسورفلو :: العمليات :: إحباط
#include <control_flow_ops.h>
رفع استثناء لإيقاف العملية عند استدعائها.
ملخص
إذا كان exit_without_error صحيحًا ، فستخرج العملية بشكل طبيعي ، وإلا ستخرج بإشارة SIGABORT.
لا يُرجع سوى استثناء.
الحجج:
- النطاق: كائن النطاق
السمات الاختيارية (انظر Attrs
):
- error_msg: سلسلة هي الرسالة المرتبطة بالاستثناء.
عائدات:
-
Operation
تم إنشاؤها
البنائين والمدمرين | |
---|---|
Abort (const :: tensorflow::Scope & scope) | |
Abort (const :: tensorflow::Scope & scope, const Abort::Attrs & attrs) |
السمات العامة | |
---|---|
operation |
الوظائف العامة | |
---|---|
operator::tensorflow::Operation () const |
وظائف ثابتة عامة | |
---|---|
ErrorMsg (StringPiece x) | |
ExitWithoutError (bool x) |
الهياكل | |
---|---|
tensorflow :: ops :: Abort :: Attrs | محددات السمات الاختيارية لـ Abort . |
السمات العامة
عملية
Operation operation
الوظائف العامة
إحباط
Abort( const ::tensorflow::Scope & scope )
إحباط
Abort( const ::tensorflow::Scope & scope, const Abort::Attrs & attrs )
المشغل :: Tensorflow :: العملية
operator::tensorflow::Operation() const
وظائف ثابتة عامة
خطأ
Attrs ErrorMsg( StringPiece x )
ExitWithoutError
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.
Last updated 2020-04-20 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]