tensorflow :: operaciones :: FakeQuantWithMinMaxVarsPerChannelGradient

#include <array_ops.h>

Calcule gradientes para una operación FakeQuantWithMinMaxVarsPerChannel .

Resumen

Argumentos:

  • alcance: un objeto de alcance
  • gradients: Gradientes retropropagados por encima de la operación FakeQuantWithMinMaxVars , forma uno de: [d] , [b, d] , [b, h, w, d] .
  • entradas: valores pasados ​​como entradas a la operación FakeQuantWithMinMaxVars , con la misma forma que los gradients . min, max: intervalo de cuantificación, flotadores de forma [d] .

Atributos opcionales (consulte Attrs ):

  • num_bits: el ancho de bits de la cuantificación; entre 2 y 16, inclusive.
  • rango_ estrecho: si cuantificar en 2 ^ num_bits - 1 valores distintos.

Devoluciones:

  • Output backprops_wrt_input: gradientes retropropagados con entradas, la misma forma que las inputs : gradients * (inputs >= min && inputs <= max) .
  • Output backprop_wrt_min: gradientes retropropagados wrt parámetro mínimo, forma [d] : sum_per_d(gradients * (inputs < min)) .
  • Output backprop_wrt_max: gradientes retropropagados wrt parámetro max, forma [d] : sum_per_d(gradients * (inputs > max)) .

Constructores y Destructores

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)

Atributos públicos

backprop_wrt_max
backprop_wrt_min
backprops_wrt_input
operation

Funciones estáticas públicas

NarrowRange (bool x)
NumBits (int64 x)

Estructuras

tensorflow :: ops :: FakeQuantWithMinMaxVarsPerChannelGradient :: Attrs

Establecedores de atributos opcionales para FakeQuantWithMinMaxVarsPerChannelGradient .

Atributos públicos

backprop_wrt_max

::tensorflow::Output backprop_wrt_max

backprop_wrt_min

::tensorflow::Output backprop_wrt_min

backprops_wrt_input

::tensorflow::Output backprops_wrt_input

operación

Operation operation

Funciones publicas

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
)

Funciones estáticas públicas

Rango estrecho

Attrs NarrowRange(
  bool x
)

NumBits

Attrs NumBits(
  int64 x
)