tensor akışı:: işlem:: MatMul

#include <math_ops.h>

"a" matrisini "b" matrisiyle çarpın .

Özet

Girişler iki boyutlu matrisler olmalı ve "a"nın iç boyutu (transpoze_a doğruysa transpoze edildikten sonra) "b"nin dış boyutuyla (transpoze_b doğruysa transpoze edildikten sonra) eşleşmelidir.

Not : MatMul'un GPU'lardaki varsayılan çekirdek uygulaması cublas'ı kullanır.

Argümanlar:

İsteğe bağlı özellikler (bkz. Attrs ):

  • transpose_a: Doğruysa "a" çarpmadan önce yer değiştirir.
  • transpose_b: Eğer doğru ise "b" çarpmadan önce 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

Kamu işlevleri

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:: Öznitelikler

MatMul için isteğe bağlı nitelik ayarlayıcılar.

Genel özellikler

operasyon

Operation operation

ürün

::tensorflow::Output product

Kamu işlevleri

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 

Genel statik işlevler

A'yı devrik

Attrs TransposeA(
  bool x
)

B'yi devrik

Attrs TransposeB(
  bool x
)