tensorflow :: ops :: MatMul
#include <math_ops.h>
"A" matrisini "b" matrisiyle çarpın .
Özet
Girdiler iki boyutlu matrisler olmalı ve "a" nın iç boyutu (devrik_a doğruysa yer değiştirdikten sonra) "b" nin dış boyutuyla eşleşmelidir (aktarılmış_b doğruysa aktarıldıktan sonra).
Not : GPU'larda MatMul için varsayılan çekirdek uygulaması cublas kullanır.
Argümanlar:
- kapsam: Bir Scope nesnesi
İsteğe bağlı özellikler (bkz. Attrs
):
- transpose_a: True ise, "a" çarpmadan önce transpoze edilir.
- transpose_b: True ise, "b" çarpmadan önce transpoze edilir.
İadeler:
-
Output
: Ürün tensörü.
Yapıcılar ve Yıkıcılar | |
---|---|
MatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b) | |
MatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b, const MatMul::Attrs & attrs) |
Genel özellikler | |
---|---|
operation | |
product |
Kamusal işlevler | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Genel statik işlevler | |
---|---|
TransposeA (bool x) | |
TransposeB (bool x) |
Yapılar | |
---|---|
tensorflow :: ops :: MatMul :: Attrs | MatMul için isteğe bağlı öznitelik belirleyiciler. |
Genel özellikler
operasyon
Operation operation
ürün
::tensorflow::Output product
Kamusal işlevler
MatMul
MatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b )
MatMul
MatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, const MatMul::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operator :: tensorflow :: Girdi
operator::tensorflow::Input() const
operator :: tensorflow :: Çıktı
operator::tensorflow::Output() const
Genel statik işlevler
TransposeA
Attrs TransposeA( bool x )
TransposeB
Attrs TransposeB( bool x )