Google I/O-তে টিউন করার জন্য ধন্যবাদ। চাহিদা অনুযায়ী সব সেশন দেখুন চাহিদা অনুযায়ী দেখুন

সেন্সরফ্লো :: অপস :: FakeQuantWithMinMaxVarsPerChannelGradient

#include <array_ops.h>

একটি FakeQuantWithMinMaxVarsPerChannel অপারেশনের জন্য গণনা গ্রেডিয়েন্টস।

সারসংক্ষেপ

যুক্তি:

  • সুযোগ: একটি স্কোপ অবজেক্ট
  • গ্রেডিয়েন্ট: উপরে Backpropagated গ্রেডিয়েন্ট FakeQuantWithMinMaxVars অপারেশন আকৃতি এক: [d] , [b, d] , [b, h, w, d]
  • ইনপুটস: FakeQuantWithMinMaxVars অপারেশনে ইনপুট হিসাবে মানগুলি পাস করা হয়েছে, gradients মতোই আকার দেয়। সর্বনিম্ন, সর্বাধিক: পরিমাণ নির্ধারণের ব্যবধান, আকারের ভাসমান [d]

Attrs বৈশিষ্ট্য ( Attrs ):

  • নাম_বিটস: কোয়ান্টাইজেশন এর বিট প্রস্থ; 2 এবং 16 এর মধ্যে অন্তর্ভুক্ত।
  • সরু_আরঞ্জ: 2 ^ সংখ্যা_বিট - 1 স্বতন্ত্র মানগুলিতে কোয়ান্টাইজ হবে কিনা।

রিটার্নস:

  • Output backprops_wrt_input: ইনপুট wrt Backpropagated গ্রেডিয়েন্ট, যেমন একই আকৃতি inputs : gradients * (inputs >= min && inputs <= max)
  • Output ব্যাকপ্রপ_আর্ট_মিন: ব্যাকরোপগ্যাজেটেড গ্রেডিয়েন্টস আর্ট মিনিট প্যারামিটার, আকৃতি [d] : sum_per_d(gradients * (inputs < min))
  • Output ব্যাকপ্রপ_আর্ট_ম্যাক্স: ব্যাকরোপগ্যাজেটেড গ্রেডিয়েন্টস আর্ট সর্বাধিক পরামিতি, আকৃতি [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)

স্ট্রাক্টস

টেনস্রোফ্লো :: অপ্স :: ফেককিউয়ান্ট উইথমিনম্যাক্স ওয়ার্সপার্পারচ্যানেলগ্র্যাডিয়েন্ট :: অ্যাটারস

FakeQuantWithMinMaxVarsPerChannelGradient এর জন্য .চ্ছিক অ্যাট্রিবিউট সেটটার

জনসাধারণের গুণাবলী

backprop_wrt_max

::tensorflow::Output backprop_wrt_max

backprop_wrt_min

::tensorflow::Output backprop_wrt_min

ব্যাকপ্রপস_আরআর_ইনপুট

::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
)