tensorflow::ops::MatMul
#include <math_ops.h>"a" matrisini "b" matrisiyle çarpın .
Özet
Girişler iki boyutlu matrisler olmalı ve "a"nın iç boyutu (transpose_a doğruysa transpoze edildikten sonra) "b"nin dış boyutuna (transposed_b doğruysa transpoze edildikten sonra) eşit olmalıdır.
Not : GPU'larda MatMul için varsayılan çekirdek uygulaması cublas kullanır.
Argümanlar:
- kapsam: Bir Kapsam nesnesi
İsteğe bağlı özellikler (bkz. Attrs ):
- transpose_a: Doğruysa, çarpma işleminden önce "a" transpoze edilir.
- transpose_b: Doğruysa, çarpma işleminden önce "b" transpoze edilir.
İadeler:
-
Output: Çarpım 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 | |
Herkese açık statik fonksiyonlar | |
|---|---|
TransposeA (bool x) | |
TransposeB (bool x) | |
Yapılar | |
|---|---|
| tensorflow::ops::MatMul::Attrs | MatMul için isteğe bağlı öznitelik ayarlayıcıları. |
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
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Herkese açık statik fonksiyonlar
TranspozeA
Attrs TransposeA( bool x )
TranspozeB
Attrs TransposeB( bool x )