تينسورفلو :: العمليات :: منع التدرج
#include <array_ops.h>
عملية تعريف تؤدي إلى حدوث خطأ إذا تم طلب التدرج اللوني.
ملخص
عند تنفيذه في رسم بياني ، يقوم هذا المرجع بإخراج موتر الإدخال كما هو.
عند إنشاء عمليات لحساب التدرجات ، سيعيد نظام التدرج اللوني TensorFlow خطأً عند محاولة البحث عن التدرج اللوني لهذا المرجع ، لأنه لا يجب تسجيل أي تدرج لهذه الوظيفة على الإطلاق. توجد هذه العملية لمنع الأخطاء الدقيقة من إرجاع التدرجات غير المنفذة بصمت في بعض حالات الزاوية.
الحجج:
- النطاق: كائن النطاق
- الإدخال: أي موتر.
السمات الاختيارية (انظر Attrs
):
- الرسالة: ستتم طباعتها في الخطأ عندما يحاول أي شخص التفريق بين هذه العملية.
عائدات:
-
Output
: نفس موتر الإدخال.
البنائين والمدمرين | |
---|---|
PreventGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
PreventGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const PreventGradient::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
Message (StringPiece x) |
الهياكل | |
---|---|
tensorflow :: ops :: PreventGradient :: Attrs | محددات السمات الاختيارية لـ PreventGradient . |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
منع التدرج
PreventGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
منع التدرج
PreventGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const PreventGradient::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
رسالة
Attrs Message( StringPiece 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.