tensorflow:: ops:: QuantizedRelu6
#include <nn_ops.h> Oblicza kwantowane prostowane liniowe 6: min(max(features, 0), 6)
Streszczenie
Argumenty:
- zakres: obiekt zakresu
- min_features: Wartość zmiennoprzecinkowa reprezentowana przez najniższą skwantowaną wartość.
- max_features: Wartość zmiennoprzecinkowa reprezentowana przez najwyższą skwantowaną wartość.
Zwroty:
- Aktywacje
Output: Mają taki sam kształt wyjściowy jak „cechy”. -
Outputmin_activations: Wartość zmiennoprzecinkowa reprezentowana przez najniższą skwantowaną wartość. -
Outputmax_activations: Wartość zmiennoprzecinkowa reprezentowana przez najwyższą skwantowaną wartość.
Konstruktory i destruktory | |
|---|---|
QuantizedRelu6 (const :: tensorflow::Scope & scope, :: tensorflow::Input features, :: tensorflow::Input min_features, :: tensorflow::Input max_features) | |
QuantizedRelu6 (const :: tensorflow::Scope & scope, :: tensorflow::Input features, :: tensorflow::Input min_features, :: tensorflow::Input max_features, const QuantizedRelu6::Attrs & attrs) |
Atrybuty publiczne | |
|---|---|
activations | |
max_activations | |
min_activations | |
operation | |
Publiczne funkcje statyczne | |
|---|---|
OutType (DataType x) | |
Struktury | |
|---|---|
| tensorflow:: ops:: QuantizedRelu6:: Attrs | Opcjonalne settery atrybutów dla QuantizedRelu6 . |
Atrybuty publiczne
aktywacje
::tensorflow::Output activations
max_activations
::tensorflow::Output max_activations
min_aktywacje
::tensorflow::Output min_activations
działanie
Operation operation
Funkcje publiczne
KwantowanyRelu6
QuantizedRelu6( const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features )
KwantowanyRelu6
QuantizedRelu6( const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features, const QuantizedRelu6::Attrs & attrs )
Publiczne funkcje statyczne
Typ wyjścia
Attrs OutType( DataType x )