tensorflow :: ops :: QuantizedMatMul
#include <math_ops.h>
Bir nicelenmiş matris çarpar a
matris ile b
.
Özet
Girişler, iki boyutlu matrisler ve iç boyutu olmalıdır a
(eğer transpoze sonra transpose_a
dış boyutu aynı olmalıdır sıfır değildir) b
(eğer transpoze sonra transposed_b
sıfır değildir).
Argümanlar:
- kapsam: Bir Scope nesnesi
- a: İki boyutlu bir tensör olmalı.
- b: İki boyutlu bir tensör olmalı.
- min_a: En düşük nicelendirilmiş
a
değerin temsil ettiği kayan değer. - max_a: En yüksek nicemlenmiş bu yüzer değer
a
değerini temsil eder. - min_b: En düşük nicelenmiş
b
değerinin temsil ettiği kayan değer. - max_b: En yüksek nicelenmiş
b
değerinin temsil ettiği kayan değer.
İsteğe bağlı özellikler (bkz. Attrs
):
- transpose_a: True ise,
a
çarpmadan önce transpoze edilir. - transpose_b: Doğruysa,
b
çarpmadan önce transpoze edilir. - Etkinleştirme: Bu işlemin ardından etkinleştirme işlevi tarafından üretilen çıktı türü.
İadeler:
-
Output
-
Output
min_out: En düşük nicelenmiş çıktı değerinin temsil ettiği kayan değer. -
Output
max_out: En yüksek nicelenmiş çıktı değerinin temsil ettiği kayan değer.
Yapıcılar ve Yıkıcılar | |
---|---|
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) |
Genel özellikler | |
---|---|
max_out | |
min_out | |
operation | |
out |
Genel statik işlevler | |
---|---|
Tactivation (DataType x) | |
Toutput (DataType x) | |
TransposeA (bool x) | |
TransposeB (bool x) |
Yapılar | |
---|---|
tensorflow :: ops :: QuantizedMatMul :: Attrs | QuantizedMatMul için isteğe bağlı öznitelik ayarlayıcıları. |
Genel özellikler
max_out
::tensorflow::Output max_out
min_out
::tensorflow::Output min_out
operasyon
Operation operation
dışarı
::tensorflow::Output out
Kamusal işlevler
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 )
Genel statik işlevler
Etkinleştirme
Attrs Tactivation( DataType x )
Çıktı
Attrs Toutput( DataType x )
TransposeA
Attrs TransposeA( bool x )
TransposeB
Attrs TransposeB( bool x )