टेंसरफ़्लो :: ऑप्स :: FakeQuantWithMinMaxVarsPerChannelGradient

#include <array_ops.h>

एक FakeQuantWithMinMaxVarsPerChannel ऑपरेशन के लिए कंप्यूटर्स की गणना करें।

सारांश

तर्क:

  • गुंजाइश: एक स्कोप ऑब्जेक्ट
  • ढ़ाल: उपरोक्त Backpropagated ढ़ाल FakeQuantWithMinMaxVars आपरेशन, के आकार एक: [d] , [b, d] , [b, h, w, d]
  • इनपुट्स: फेक्यूएंटविंटमिनमैक्सवार्स ऑपरेशन के इनपुट के रूप में दिए गए मान, gradients समान आकार। न्यूनतम, अधिकतम: परिमाणीकरण अंतराल, आकार की झांकियां [d]

वैकल्पिक विशेषताएँ ( Attrs देखें):

  • num_bits: मात्रा का ठहराव; 2 और 16 के बीच, समावेशी।
  • संकीर्ण_ व्यवस्था: चाहे 2 ^ संख्या_ मात्रा में निर्धारित करें - 1 अलग-अलग मान।

रिटर्न:

  • Output backprops_wrt_input: आदानों wrt Backpropagated ढ़ाल, के रूप में एक ही आकार inputs : gradients * (inputs >= min && inputs <= max)
  • Output backprop_wrt_min: backpropagated gradients wrt min पैरामीटर, आकार [d] : sum_per_d(gradients * (inputs < min))
  • Output backprop_wrt_max: backpropagated gradients wrt अधिकतम पैरामीटर, आकार [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 :: Attrs

वैकल्पिक विशेषता FakeQuantWithMinMaxVarsPerChannelGradient के लिए बसती है

सार्वजनिक विशेषताएँ

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

सार्वजनिक कार्य

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
)