tensorflow::ops::FakeQuantWithMinMaxVarsGradient

#include <array_ops.h>

Calcola i gradienti per un'operazione FakeQuantWithMinMaxVars .

Riepilogo

Argomentazioni:

Attributi opzionali (vedere Attrs ):

  • num_bits: Larghezza in bit della quantizzazione; compresa tra 2 e 8, inclusi.
  • narrow_range: Indica se quantizzare in 2^num_bits - 1 valori distinti.

Resi:

  • Output backprops_wrt_input: Gradienti retropropagati rispetto agli input: gradients * (inputs >= min && inputs <= max) .
  • Output backprop_wrt_min: Gradienti retropropagati rispetto al parametro min: sum(gradients * (inputs < min)) .
  • Output backprop_wrt_max: Gradienti retropropagati rispetto al parametro max: sum(gradients * (inputs > max)) .

Costruttori e distruttori

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)

attributi pubblici

backprop_wrt_max
backprop_wrt_min
backprops_wrt_input
operation

Funzioni statiche pubbliche

NarrowRange (bool x)
NumBits (int64 x)

Strutture

tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs

Impostatori di attributi opzionali per FakeQuantWithMinMaxVarsGradient .

attributi pubblici

backprop_wrt_max

::tensorflow::Output backprop_wrt_max

backprop_wrt_min

::tensorflow::Output backprop_wrt_min

backprops_wrt_input

::tensorflow::Output backprops_wrt_input

operazione

Operation operation

Funzioni pubbliche

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
)

Funzioni statiche pubbliche

Gamma ristretta

Attrs NarrowRange(
  bool x
)

NumBits

Attrs NumBits(
  int64 x
)