tensorflow :: ops :: QuantizedMatMul
#include <math_ops.h>
Lakukan perkalian matriks terkuantisasi a
dengan matriks b
.
Ringkasan
Input harus berupa matriks dua dimensi dan dimensi dalam a
(setelah dialihkan jika transpose_a
bukan nol) harus sesuai dengan dimensi luar b
(setelah dialihkan jika transposed_b
bukan nol).
Argumen:
- scope: Objek Scope
- a: Harus berupa tensor dua dimensi.
- b: Harus berupa tensor dua dimensi.
- min_a: The nilai float yang terendah dikuantisasi
a
nilai mewakili. - max_a: The nilai float yang tertinggi dikuantisasi
a
nilai mewakili. - min_b: Nilai float yang diwakili oleh nilai
b
terkuantisasi terendah. - max_b: Nilai float yang diwakili oleh nilai
b
terkuantisasi tertinggi.
Atribut opsional (lihat Attrs
):
- transpose_a: Jika benar,
a
diubah urutannya sebelum perkalian. - transpose_b: Jika true,
b
dialihkan sebelum perkalian. - Tactivation: Jenis keluaran yang dihasilkan oleh fungsi aktivasi setelah operasi ini.
Pengembalian:
-
Output
keluar -
Output
min_out: Nilai float yang diwakili oleh nilai output terkuantisasi terendah. -
Output
max_out: Nilai float yang diwakili oleh nilai output terkuantisasi tertinggi.
Pembuat dan Penghancur | |
---|---|
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) |
Atribut publik | |
---|---|
max_out | |
min_out | |
operation | |
out |
Fungsi statis publik | |
---|---|
Tactivation (DataType x) | |
Toutput (DataType x) | |
TransposeA (bool x) | |
TransposeB (bool x) |
Structs | |
---|---|
tensorflow :: ops :: QuantizedMatMul :: Attrs | Penyetel atribut opsional untuk QuantizedMatMul . |
Atribut publik
max_out
::tensorflow::Output max_out
min_out
::tensorflow::Output min_out
operasi
Operation operation
di luar
::tensorflow::Output out
Fungsi publik
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 )
Fungsi statis publik
Tactivation
Attrs Tactivation( DataType x )
Toutput
Attrs Toutput( DataType x )
Transpose
Attrs TransposeA( bool x )
TransposeB
Attrs TransposeB( bool x )