Tensorflow :: ops :: Requantize
#include <math_ops.h>
Wandelt den quantisierten input
in einen output
niedrigerer Genauigkeit um.
Zusammenfassung
Konvertiert den quantisierten input
Verwendung des mit requested_output_min
und requested_output_max
angegebenen Ausgabebereichs in einen output
mit niedrigerer Genauigkeit.
[input_min, input_max]
sind skalare Floats, die den Bereich für die Float-Interpretation der input
angeben. Wenn beispielsweise input_min
-1,0f und input_max
1,0f ist und es sich um quint16
quantisierte Daten handelt, sollte ein 0-Wert in den 16-Bit-Daten als -1,0f interpretiert werden und 65535 bedeutet 1,0f.
Argumente:
- scope: Ein Scope- Objekt
- input_min: Der Gleitkommawert, den der minimale quantisierte Eingabewert darstellt.
- input_max: Der Gleitkommawert, den der maximal quantisierte Eingabewert darstellt.
- request_output_min: Der Gleitkommawert, den der minimale quantisierte Ausgabewert darstellt.
- request_output_max: Der Gleitkommawert, den der maximal quantisierte Ausgabewert darstellt.
- out_type: Der Typ der Ausgabe. Sollte eine geringere Bittiefe als Tinput haben.
Kehrt zurück:
-
Output
Ausgabe -
Output
output_min: Der angeforderte_output_min-Wert wird in diese Ausgabe kopiert. -
Output
output_max: Der angeforderte_output_max-Wert wird in diese Ausgabe kopiert.
Konstruktoren und Destruktoren | |
---|---|
Requantize (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max, :: tensorflow::Input requested_output_min, :: tensorflow::Input requested_output_max, DataType out_type) |
Öffentliche Attribute | |
---|---|
operation | |
output | |
output_max | |
output_min |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
output_max
::tensorflow::Output output_max
output_min
::tensorflow::Output output_min
Öffentliche Funktionen
Requantize
Requantize( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input requested_output_min, ::tensorflow::Input requested_output_max, DataType out_type )