tensorflow::ops::FakeQuantWithMinMaxVarsGradient
#include <array_ops.h>FakeQuantWithMinMaxVars işlemi için gradyanları hesaplayın.
Özet
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- Eğimler: FakeQuantWithMinMaxVars işlemi üzerindeki geriye doğru yayılmış eğimler.
- Girişler: FakeQuantWithMinMaxVars işlemine giriş olarak iletilen değerler. min, max: Nicelleştirme aralığı, skalar ondalık sayılar.
İsteğe bağlı özellikler (bkz. Attrs ):
- num_bits: Nicelleştirmenin bit genişliği; 2 ile 8 arasında (2 dahil).
- narrow_range: 2^num_bits - 1 farklı değere göre nicelleştirme yapılıp yapılmayacağı.
İadeler:
-
Outputgöre geri yayılmış gradyanlar:gradients * (inputs >= min && inputs <= max). -
Outputbackprop_wrt_min: min parametresine göre geri yayılmış gradyanlar:sum(gradients * (inputs < min)). -
Outputbackprop_wrt_max: Maksimum parametreye göre geri yayılmış gradyanlar: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 | |
Herkese açık statik fonksiyonlar | |
|---|---|
NarrowRange (bool x) | |
NumBits (int64 x) | |
Yapılar | |
|---|---|
| tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs | FakeQuantWithMinMaxVarsGradient için isteğe bağlı öznitelik ayarlayıcıları. |
Genel özellikler
geri_prop_maks.
::tensorflow::Output backprop_wrt_max
geri_prop_wrt_min
::tensorflow::Output backprop_wrt_min
girişe göre geri yayılımlar
::tensorflow::Output backprops_wrt_input
operasyon
Operation operation
Kamusal işlevler
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 )
Herkese açık statik fonksiyonlar
Dar Aralık
Attrs NarrowRange( bool x )
NumBits
Attrs NumBits( int64 x )