تينسورفلو :: العمليات :: FakeQuantWithMinMaxVarsPerChannelGradient
#include <array_ops.h>
حساب التدرجات لعملية FakeQuantWithMinMaxVarsPerChannel .
ملخص
الحجج:
- النطاق: كائن النطاق
- التدرجات اللونية: تدرجات منتشرة فوق عملية FakeQuantWithMinMaxVars ، شكل واحد من:
[d]
،[b, d]
،[b, h, w, d]
. - المدخلات: القيم التي تم تمريرها كمدخلات لعملية FakeQuantWithMinMaxVars ، يكون شكلها مثل
gradients
. الحد الأدنى ، الحد الأقصى: الفاصل الكمي ، عوامات الشكل[d]
.
السمات الاختيارية (انظر Attrs
):
- عدد_بتات: عرض البت للتكمية ؛ بين 2 و 16 ، ضمناً.
- tight_range: ما إذا كان سيتم التقسيم إلى 2 ^ num_bits - 1 قيمة مميزة.
عائدات:
-
Output
backprops_wrt_input: تدرجات لونية متكاثرة لمدخلات الكتابة ، الشكل نفسه مثلinputs
:gradients * (inputs >= min && inputs <= max)
-
Output
backprop_wrt_min: تدرجاتsum_per_d(gradients * (inputs < min))
min ، شكل[d]
:sum_per_d(gradients * (inputs < min))
. -
Output
backprop_wrt_max: التدرجات Backpropagated wrt max المعلمة ، الشكل[d]
:sum_per_d(gradients * (inputs > max))
.
البنائين والمدمرين | |
---|---|
FakeQuantWithMinMaxVarsPerChannelGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max) | |
FakeQuantWithMinMaxVarsPerChannelGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max, const FakeQuantWithMinMaxVarsPerChannelGradient::Attrs & attrs) |
السمات العامة | |
---|---|
backprop_wrt_max | |
backprop_wrt_min | |
backprops_wrt_input | |
operation |
وظائف ثابتة عامة | |
---|---|
NarrowRange (bool x) | |
NumBits (int64 x) |
الهياكل | |
---|---|
tensorflow :: العمليات :: FakeQuantWithMinMaxVarsPerChannelGradient :: Attrs | محددات السمات الاختيارية لـ FakeQuantWithMinMaxVarsPerChannelGradient . |
السمات العامة
backprop_wrt_max
::tensorflow::Output backprop_wrt_max
backprop_wrt_min
::tensorflow::Output backprop_wrt_min
backprops_wrt_input
::tensorflow::Output backprops_wrt_input
عملية
Operation operation
الوظائف العامة
FakeQuantWithMinMaxVarsPerChannelGradient
FakeQuantWithMinMaxVarsPerChannelGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max )
FakeQuantWithMinMaxVarsPerChannelGradient
FakeQuantWithMinMaxVarsPerChannelGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max, const FakeQuantWithMinMaxVarsPerChannelGradient::Attrs & attrs )
وظائف ثابتة عامة
نطاق ضيق
Attrs NarrowRange( bool x )
نومبيتس
Attrs NumBits( int64 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"
}]