সেন্সরফ্লো :: অপস :: FakeQuantWithMinMaxVarsGradient
#include <array_ops.h>
একটি FakeQuantWithMinMaxVars অপারেশনের জন্য গণনা গ্রেডিয়েন্টস।
সারসংক্ষেপ
যুক্তি:
- সুযোগ: একটি স্কোপ অবজেক্ট
- গ্রেডিয়েন্টস: FakeQuantWithMinMaxVars ক্রিয়াকলাপের উপরে ব্যাকপ্রেগেটেড গ্রেডিয়েন্টস।
- ইনপুটস: FakeQuantWithMinMaxVars অপারেশনে ইনপুট হিসাবে মানগুলি উত্তীর্ণ হয়েছে। সর্বনিম্ন, সর্বাধিক: পরিমাণ নির্ধারণের ব্যবধান, স্কেলার ভাসমান।
- নাম_বিটস: কোয়ান্টাইজেশন এর বিট প্রস্থ; সমেত 2 এবং 8 এর মধ্যে।
- সরু_আরঞ্জ: 2 ^ সংখ্যা_বিট - 1 স্বতন্ত্র মানগুলিতে কোয়ান্টাইজ হবে কিনা।
রিটার্নস:
-
Output
ব্যাকপ্রপস_আর্ট_ইনপুট: ব্যাকরোপগ্যাজেটেড গ্রেডিয়েন্টস আর্ট ইনপুট:gradients * (inputs >= min && inputs <= max)
। -
Output
ব্যাকপ্রপ_আর্ট_মিন: ব্যাকরোপগ্যাজেটেড গ্রেডিয়েন্টস আর্ট মিনিট প্যারামিটার:sum(gradients * (inputs < min))
ইনপুটসsum(gradients * (inputs < min))
। -
Output
ব্যাকপ্রপ_আর্ট_ম্যাক্স: ব্যাকরোপগ্যাজেটেড গ্রেডিয়েন্টস আর্ট সর্বাধিক পরামিতি:sum(gradients * (inputs > 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) |
স্ট্রাক্টস | |
---|---|
টেনস্রোফ্লো :: অপ্স :: ফেককুয়ান্ট উইথমিনম্যাক্স ভার্সগ্রাডিয়েন্ট :: অ্যাটার্স | FakeQuantWithMinMaxVarsGradient এর জন্য .চ্ছিক অ্যাট্রিবিউট সেটটার । |
জনসাধারণের গুণাবলী
backprop_wrt_max
::tensorflow::Output backprop_wrt_max
backprop_wrt_min
::tensorflow::Output backprop_wrt_min
ব্যাকপ্রপস_আরআর_ইনপুট
::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 )