tensor akışı:: işlem:: FakeQuantWithMinMaxVarsGradient

#include <array_ops.h>

FakeQuantWithMinMaxVars işlemi için degradeleri hesaplayın.

Özet

Argümanlar:

İsteğe bağlı özellikler (bkz. Attrs ):

  • num_bits: Nicelemenin bit genişliği; 2 ile 8 arasında (dahil).
  • dar_aralık: 2^num_bits - 1 farklı değer halinde nicemlenip nicelenmeyeceği.

İadeler:

  • Output backprops_wrt_input: Geriye yayılan degradeler wrt girişleri: gradients * (inputs >= min && inputs <= max) .
  • Output backprop_wrt_min: Geriye yayılan degradeler wrt min parametresi: sum(gradients * (inputs < min)) .
  • Output backprop_wrt_max: Geriye yayılan degradeler wrt max parametresi: sum(gradients * (inputs > max)) .

Yapıcılar ve Yıkıcılar

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)

Genel özellikler

backprop_wrt_max
backprop_wrt_min
backprops_wrt_input
operation

Genel statik işlevler

NarrowRange (bool x)
NumBits (int64 x)

Yapılar

tensorflow:: ops:: FakeQuantWithMinMaxVarsGradient:: Attrs

FakeQuantWithMinMaxVarsGradient için isteğe bağlı özellik ayarlayıcılar.

Genel özellikler

backprop_wrt_max

::tensorflow::Output backprop_wrt_max

backprop_wrt_min

::tensorflow::Output backprop_wrt_min

backprops_wrt_input

::tensorflow::Output backprops_wrt_input

operasyon

Operation operation

Kamu işlevleri

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
)

Genel statik işlevler

Dar Aralık

Attrs NarrowRange(
  bool x
)

NumBits

Attrs NumBits(
  int64 x
)