tensorflow :: ops :: FakeQuantWithMinMaxVarsPerChannelGradient
#include <array_ops.h>
شیب ها را برای عملکرد FakeQuantWithMinMaxVarsPerChannel محاسبه کنید.
خلاصه
استدلال ها:
- دامنه: یک شی Sc Scope
- شیب ها: شیب های منبسط بالای عملیات FakeQuantWithMinMaxVars ، یکی از اینها را شکل دهید:
[d]
،[b, d]
،[b, h, w, d]
. - ورودی ها: مقادیری که به عنوان ورودی به عملیات FakeQuantWithMinMaxVars منتقل می شوند ، شکل همان
gradients
. دقیقه ، حداکثر: فاصله اندازه گیری ، شناورهای شکل[d]
.
ویژگی های اختیاری (به Attrs
مراجعه کنید):
- num_bits: بیت کووانزاسیون. بین 2 تا 16 ، شامل.
- range_range: آیا باید به 2 ^ num_bits اندازه گیری شود - 1 مقدار مشخص.
بازده:
-
Output
backprops_wrt_input: شیب های منبسط ورودی wrt ، شکل مشابهinputs
:gradients * (inputs >= min && inputs <= max)
. - backprop_wrt_min
Output
: شیب های backpropagated پارامتر wrt min ، شکل[d]
:sum_per_d(gradients * (inputs < min))
. -
Output
backprop_wrt_max: Backpropagated شیب WRT پارامتر حداکثر، شکل[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 :: ops :: 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 )
NumBits
Attrs NumBits( int64 x )
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2020-04-20 بهوقت ساعت هماهنگ جهانی.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"اطلاعاتی که نیاز دارم وجود ندارد"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"بیشازحد پیچیده/ مراحل بسیار زیاد"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"قدیمی"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"مشکل ترجمه"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشکل کد / نمونهها"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غیره"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"درک آسان"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"مشکلم را برطرف کرد"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غیره"
}]