tensorflow:: ops:: FakeQuantWithMinMaxVarsPerChannelGradient
#include <array_ops.h>FakeQuantWithMinMaxVarsPerChannel অপারেশনের জন্য গ্রেডিয়েন্ট গণনা করুন।
সারসংক্ষেপ
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- গ্রেডিয়েন্ট: FakeQuantWithMinMaxVars অপারেশনের উপরের ব্যাকপ্রোপাগেটেড গ্রেডিয়েন্ট, আকৃতি:
[d],[b, d],[b, h, w, d]-এর মধ্যে একটি। - inputs: FakeQuantWithMinMaxVars অপারেশনে ইনপুট হিসেবে প্রদত্ত মানসমূহ, আকৃতি
gradientsএর অনুরূপ। min, max: কোয়ান্টাইজেশন ব্যবধি,[d]আকৃতির ফ্লোট সংখ্যা।
ঐচ্ছিক অ্যাট্রিবিউটসমূহ (দেখুন Attrs ):
- num_bits: কোয়ান্টাইজেশনের বিটউইডথ; যা ২ থেকে ১৬-এর মধ্যে হবে।
- narrow_range: 2^num_bits - 1 টি স্বতন্ত্র মানে কোয়ান্টাইজ করা হবে কিনা।
ফেরত:
-
Outputbackprops_wrt_input: ইনপুটগুলোর সাপেক্ষে ব্যাকপ্রোপাগেটেড গ্রেডিয়েন্ট, আকৃতিinputsমতোই :gradients * (inputs >= min && inputs <= max)। -
Outputbackprop_wrt_min: সর্বনিম্ন প্যারামিটারের সাপেক্ষে ব্যাকপ্রোপাগেটেড গ্রেডিয়েন্ট, আকৃতি[d]:sum_per_d(gradients * (inputs < min))। -
Outputbackprop_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:: ops:: FakeQuantWithMinMaxVarsPerChannelGradient:: Attrs | FakeQuantWithMinMaxVarsPerChannelGradient-এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার। |
জনসাধারণের বৈশিষ্ট্য
backprop_wrt_max
::tensorflow::Output backprop_wrt_max
ব্যাকপ্রপ_ডব্লিউআরটি_মিনিট
::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 )