Tensorflow :: ops :: QuantizedMatMul
#include <math_ops.h>
Führen Sie eine quantisierte Matrixmultiplikation von a
mit der Matrix b
.
Zusammenfassung
Die Eingaben müssen zweidimensionale Matrizen sein und die innere Dimension von a
(nach der Transponierung, wenn transpose_a
nicht Null ist) muss mit der äußeren Dimension von b
übereinstimmen (nach der Transponierung, wenn transposed_b
nicht Null ist).
Argumente:
- scope: Ein Scope- Objekt
- a: Muss ein zweidimensionaler Tensor sein.
- b: Muss ein zweidimensionaler Tensor sein.
- min_a: Der Gleitkommawert, die niedrigste quantisierte
a
darstellt Wert. - max_a: Der Schwimmer Wert , dass der höchste quantisiert
a
Wert darstellt. - min_b: Der Gleitkommawert, den der niedrigste quantisierte
b
Wert darstellt. - max_b: Der Gleitkommawert, den der höchste quantisierte
b
Wert darstellt.
Optionale Attribute (siehe Attrs
):
- transpose_a: Wenn das stimmt,
a
vor der Multiplikation umgesetzt wird. - transpose_b: Wenn true, wird
b
vor der Multiplikation transponiert. - Aktivierung: Die Art der Ausgabe, die von der Aktivierungsfunktion nach diesem Vorgang erzeugt wird.
Kehrt zurück:
-
Output
aus -
Output
min_out: Der Gleitkommawert, den der niedrigste quantisierte Ausgabewert darstellt. -
Output
max_out: Der Gleitkommawert, den der höchste quantisierte Ausgabewert darstellt.
Konstruktoren und Destruktoren | |
---|---|
QuantizedMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b, :: tensorflow::Input min_a, :: tensorflow::Input max_a, :: tensorflow::Input min_b, :: tensorflow::Input max_b) | |
QuantizedMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b, :: tensorflow::Input min_a, :: tensorflow::Input max_a, :: tensorflow::Input min_b, :: tensorflow::Input max_b, const QuantizedMatMul::Attrs & attrs) |
Öffentliche Attribute | |
---|---|
max_out | |
min_out | |
operation | |
out |
Öffentliche statische Funktionen | |
---|---|
Tactivation (DataType x) | |
Toutput (DataType x) | |
TransposeA (bool x) | |
TransposeB (bool x) |
Strukturen | |
---|---|
tensorflow :: ops :: QuantizedMatMul :: Attrs | Optionale Attributsetzer für QuantizedMatMul . |
Öffentliche Attribute
max_out
::tensorflow::Output max_out
min_out
::tensorflow::Output min_out
Operation
Operation operation
aus
::tensorflow::Output out
Öffentliche Funktionen
QuantizedMatMul
QuantizedMatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, ::tensorflow::Input min_a, ::tensorflow::Input max_a, ::tensorflow::Input min_b, ::tensorflow::Input max_b )
QuantizedMatMul
QuantizedMatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, ::tensorflow::Input min_a, ::tensorflow::Input max_a, ::tensorflow::Input min_b, ::tensorflow::Input max_b, const QuantizedMatMul::Attrs & attrs )
Öffentliche statische Funktionen
Aktivierung
Attrs Tactivation( DataType x )
Toutput
Attrs Toutput( DataType x )
TransposeA
Attrs TransposeA( bool x )
TransponierenB
Attrs TransposeB( bool x )