Restez organisé à l'aide des collections Enregistrez et classez les contenus selon vos préférences.

tensorflow :: opérations :: FakeQuantWithMinMaxVarsGradient

#include <array_ops.h>

Calculez des dégradés pour une opération FakeQuantWithMinMaxVars .

Résumé

Arguments:

  • scope: un objet Scope
  • dégradés: dégradés rétropropagés au-dessus de l'opération FakeQuantWithMinMaxVars .
  • inputs: valeurs transmises en tant qu'entrées à l'opération FakeQuantWithMinMaxVars . min, max: intervalle de quantification, flottants scalaires.

Attributs facultatifs (voir Attrs ):

  • num_bits: la largeur de bits de la quantification; entre 2 et 8 inclus.
  • narrow_range: s'il faut quantifier en 2 ^ num_bits - 1 valeurs distinctes.

Retour:

  • Output backprops_wrt_input: Gradients rétropropagés par rapport aux entrées: gradients * (inputs >= min && inputs <= max) .
  • Output backprop_wrt_min: Gradients rétropropagés par rapport au paramètre min: sum(gradients * (inputs < min)) .
  • Output backprop_wrt_max: Gradients rétropropagés par rapport au paramètre max: sum(gradients * (inputs > max)) .

Constructeurs et destructeurs

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)

Attributs publics

backprop_wrt_max
backprop_wrt_min
backprops_wrt_input
operation

Fonctions statiques publiques

NarrowRange (bool x)
NumBits (int64 x)

Structs

tensorflow :: ops :: FakeQuantWithMinMaxVarsGradient :: Attrs

Définisseurs d' attributs facultatifs pour FakeQuantWithMinMaxVarsGradient .

Attributs publics

backprop_wrt_max

::tensorflow::Output backprop_wrt_max

backprop_wrt_min

::tensorflow::Output backprop_wrt_min

backprops_wrt_input

::tensorflow::Output backprops_wrt_input

opération

Operation operation

Fonctions publiques

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
)

Fonctions statiques publiques

Fourchette étroite

Attrs NarrowRange(
  bool x
)

NumBits

Attrs NumBits(
  int64 x
)