tensorflow:: ops:: FakeQuantWithMinMaxVarsGradient
#include <array_ops.h>FakeQuantWithMinMaxVars অপারেশনের জন্য গ্রেডিয়েন্ট গণনা করুন।
সারসংক্ষেপ
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- গ্রেডিয়েন্ট: FakeQuantWithMinMaxVars অপারেশনের উপরের ব্যাকপ্রোপাগেটেড গ্রেডিয়েন্ট।
- inputs: FakeQuantWithMinMaxVars অপারেশনে ইনপুট হিসেবে প্রদত্ত মানসমূহ। min, max: কোয়ান্টাইজেশন ব্যবধান, স্কেলার ফ্লোট।
ঐচ্ছিক অ্যাট্রিবিউটসমূহ (দেখুন Attrs ):
- num_bits: কোয়ান্টাইজেশনের বিটউইডথ; মান ২ থেকে ৮-এর মধ্যে।
- narrow_range: 2^num_bits - 1 টি স্বতন্ত্র মানে কোয়ান্টাইজ করা হবে কিনা।
ফেরত:
-
Outputbackprops_wrt_input: ইনপুটসমূহের সাপেক্ষে ব্যাকপ্রোপাগেটেড গ্রেডিয়েন্ট:gradients * (inputs >= min && inputs <= max)। -
Outputbackprop_wrt_min: ন্যূনতম প্যারামিটারের সাপেক্ষে ব্যাকপ্রোপাগেটেড গ্রেডিয়েন্ট:sum(gradients * (inputs < min))। -
Outputbackprop_wrt_max: সর্বোচ্চ প্যারামিটারের সাপেক্ষে ব্যাকপ্রোপাগেটেড গ্রেডিয়েন্ট:sum(gradients * (inputs > max))।
নির্মাতা এবং ধ্বংসকারী | |
|---|---|
FakeQuantWithMinMaxVarsGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max) | |
FakeQuantWithMinMaxVarsGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max, const FakeQuantWithMinMaxVarsGradient::Attrs & attrs) |
জনসাধারণের বৈশিষ্ট্য | |
|---|---|
backprop_wrt_max | |
backprop_wrt_min | |
backprops_wrt_input | |
operation | |
পাবলিক স্ট্যাটিক ফাংশন | |
|---|---|
NarrowRange (bool x) | |
NumBits (int64 x) | |
কাঠামো | |
|---|---|
| tensorflow:: ops:: FakeQuantWithMinMaxVarsGradient:: Attrs | FakeQuantWithMinMaxVarsGradient-এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার। |
জনসাধারণের বৈশিষ্ট্য
ব্যাকপ্রপ_ডব্লিউআরটি_ম্যাক্স
::tensorflow::Output backprop_wrt_max
ব্যাকপ্রপ_ডব্লিউআরটি_মিনিট
::tensorflow::Output backprop_wrt_min
backprops_wrt_input
::tensorflow::Output backprops_wrt_input
অপারেশন
Operation operation
জনসাধারণের কার্যাবলী
FakeQuantWithMinMaxVarsGradient
FakeQuantWithMinMaxVarsGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max )
FakeQuantWithMinMaxVarsGradient
FakeQuantWithMinMaxVarsGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max, const FakeQuantWithMinMaxVarsGradient::Attrs & attrs )
পাবলিক স্ট্যাটিক ফাংশন
সংকীর্ণ পরিসর
Attrs NarrowRange( bool x )
নামবিটস
Attrs NumBits( int64 x )