Tensorflow :: ops :: FakeQuantWithMinMaxVarsPerChannelGradient
#include <array_ops.h>
Berechnen Sie Farbverläufe für eine FakeQuantWithMinMaxVarsPerChannel- Operation.
Zusammenfassung
Argumente:
- scope: Ein Scope- Objekt
- Farbverläufe: Rückpropagierte Farbverläufe über der Operation FakeQuantWithMinMaxVars bilden eine der folgenden Formen:
[d]
,[b, d]
,[b, h, w, d]
. - Eingaben: Werte, die als Eingaben an die Operation FakeQuantWithMinMaxVars übergeben werden, haben dieselbe Form wie
gradients
. min, max: Quantisierungsintervall, Formschwimmer[d]
.
Optionale Attribute (siehe Attrs
):
- num_bits: Die Bitbreite der Quantisierung; zwischen 2 und 16 einschließlich.
- eng_bereich: Gibt an, ob in 2 ^ num_bits - 1 verschiedene Werte quantisiert werden soll.
Kehrt zurück:
-
Output
backprops_wrt_input: Backpropagierte Verläufe für Eingaben, Form wieinputs
:gradients * (inputs >= min && inputs <= max)
. -
Output
backprop_wrt_min: Backpropagated Gradienten wrt min Parameter, Form[d]
:sum_per_d(gradients * (inputs < min))
. -
Output
backprop_wrt_max: Backpropagated Gradienten für max Parameter, Form[d]
:sum_per_d(gradients * (inputs > max))
.
Konstruktoren und Destruktoren | |
---|---|
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) |
Öffentliche Attribute | |
---|---|
backprop_wrt_max | |
backprop_wrt_min | |
backprops_wrt_input | |
operation |
Öffentliche statische Funktionen | |
---|---|
NarrowRange (bool x) | |
NumBits (int64 x) |
Strukturen | |
---|---|
tensorflow :: ops :: FakeQuantWithMinMaxVarsPerChannelGradient :: Attrs | Optionale Attributsetzer für FakeQuantWithMinMaxVarsPerChannelGradient . |
Öffentliche Attribute
backprop_wrt_max
::tensorflow::Output backprop_wrt_max
backprop_wrt_min
::tensorflow::Output backprop_wrt_min
backprops_wrt_input
::tensorflow::Output backprops_wrt_input
Operation
Operation operation
Öffentliche Funktionen
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 )
Öffentliche statische Funktionen
Engen Bereich
Attrs NarrowRange( bool x )
NumBits
Attrs NumBits( int64 x )