نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: FakeQuantWithMinMaxVarsGradient

#include <array_ops.h>

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

ملخص

الحجج:

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

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

عائدات:

  • Output backprops_wrt_input: تدرجات متداخلة مكتوبة بخط اليد: gradients * (inputs >= min && inputs <= max) .
  • Output backprop_wrt_min: التدرجات backpropagated wrt min المعلمة: sum(gradients * (inputs < min)) .
  • Output backprop_wrt_max: التدرجات Backpropagated 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
)

وظائف ثابتة عامة

نطاق ضيق

0 بيفاد 30

نومبيتس

Attrs NumBits(
  int64 x
)