tensorflow :: অপস:: FakeQuantWithMinMaxVarsGradient

#include <array_ops.h>

FakeQuantWithMinMaxVars অপারেশনের জন্য গ্রেডিয়েন্ট গণনা করুন।

সারসংক্ষেপ

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • গ্রেডিয়েন্ট: FakeQuantWithMinMaxVars অপারেশনের উপরে ব্যাকপ্রোপগেটেড গ্রেডিয়েন্ট।
  • ইনপুট: মানগুলি FakeQuantWithMinMaxVars অপারেশনে ইনপুট হিসাবে পাস করা হয়েছে৷ ন্যূনতম, সর্বোচ্চ: পরিমাপ ব্যবধান, স্কেলার ফ্লোটস।

ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs ):

  • num_bits: পরিমাপের বিটউইথ; 2 এবং 8 এর মধ্যে, অন্তর্ভুক্ত।
  • narrow_range: 2^num_bit - 1টি স্বতন্ত্র মান-এ পরিমাপ করা হবে কিনা।

রিটার্ন:

  • Output backprops_wrt_input: ব্যাকপ্রোপগেটেড গ্রেডিয়েন্ট wrt ইনপুট: gradients * (inputs >= min && inputs <= max)
  • Output backprop_wrt_min: Backpropagated gradients wrt min প্যারামিটার: sum(gradients * (inputs < min))
  • Output backprop_wrt_max: ব্যাকপ্রোপগেটেড গ্রেডিয়েন্ট 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- এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার।

পাবলিক বৈশিষ্ট্য

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

পাবলিক ফাংশন

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
)

NumBits

Attrs NumBits(
  int64 x
)