تدفق التوتر:: العمليات:: FakeQuantWithMinMaxVarsGradient

#include <array_ops.h>

حساب التدرجات لعملية FakeQuantWithMinMaxVars .

ملخص

الحجج:

  • النطاق: كائن النطاق
  • التدرجات: التدرجات ذات الانتشار العكسي أعلى عملية FakeQuantWithMinMaxVars .
  • المدخلات: القيم التي تم تمريرها كمدخلات إلى عملية FakeQuantWithMinMaxVars . الحد الأدنى والحد الأقصى: الفاصل الزمني للتكميم، والعوامات العددية.

السمات الاختيارية (انظر Attrs ):

  • num_bits: عرض بتات التكميم؛ بين 2 و 8 شاملاً.
  • نطاق ضيق: تحديد ما إذا كان سيتم التكميم إلى 2^num_bits - قيمة واحدة مميزة.

عائدات:

  • Output backprops_wrt_input: التدرجات Backpropagrated WRT المدخلات: gradients * (inputs >= min && inputs <= max) .
  • Output backprop_wrt_min: التدرجات ذات الانتشار العكسي wrt min المعلمة: sum(gradients * (inputs < min)) .
  • Output backprop_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
)

نومبيتس

Attrs NumBits(
  int64 x
)