tensorflow :: ops :: FakeQuantWithMinMaxVarsGradient
#include <array_ops.h>
FakeQuantWithMinMaxVars işlemi için degradeleri hesaplayın.
Özet
Argümanlar:
- kapsam: Bir Scope nesnesi
- degradeler: FakeQuantWithMinMaxVars işleminin üzerinde geri yayılmış degradeler.
- inputs: FakeQuantWithMinMaxVars işlemine girdi olarak geçirilen değerler. min, max: Niceleme aralığı, skaler yüzer.
İsteğe bağlı özellikler (bkz. Attrs
):
- num_bits: Nicemlemenin bit genişliği; 2 ile 8 arası, dahil.
- dar_aralık: 2 ^ sayı_biti - 1 farklı değer halinde nicelendirilip nicemlenmeyeceği.
İadeler:
-
Output
backprops_wrt_input: Geriye yayılmış gradyanlar girdiler:gradients * (inputs >= min && inputs <= max)
. -
Output
backprop_wrt_min: Backpropagated gradyanlar wrt min parametresi:sum(gradients * (inputs < min))
. -
Output
backprop_wrt_max: Backpropagated gradients wrt max parameter: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ı öznitelik 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
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 )
Genel statik işlevler
NarrowRange
Attrs NarrowRange( bool x )
NumBits
Attrs NumBits( int64 x )