tensor akışı:: işlem:: QuantizedMatMul

#include <math_ops.h>

a b matrisiyle nicelenmiş matris çarpımını gerçekleştirin.

Özet

Girdiler iki boyutlu matrisler olmalı ve a iç boyutu ( transpose_a sıfır değilse transpoze edildikten sonra) b dış boyutuyla eşleşmelidir ( transposed_b sıfır değilse transpoze edildikten sonra).

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • a: İki boyutlu bir tensör olmalı.
  • b: İki boyutlu bir tensör olmalı.
  • min_a: En düşük niceliklendirilmiş a temsil ettiği kayan değer.
  • max_a: En yüksek nicelenmiş a temsil ettiği kayan değer.
  • min_b: En düşük nicelenmiş b değerinin temsil ettiği float değeri.
  • max_b: En yüksek nicelenmiş b değerinin temsil ettiği float değeri.

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

  • transpose_a: Eğer doğruysa, a çarpmadan önce transpoze edilir.
  • transpose_b: Eğer doğruysa, b çarpmadan önce transpoze edilir.
  • Dokunma: Bu işlemin ardından aktivasyon fonksiyonu tarafından üretilen çıktı türüdür.

İadeler:

  • Output çıkışı
  • Output min_out: En düşük nicelenmiş çıkış değerinin temsil ettiği kayan değer.
  • Output max_out: En yüksek nicelenmiş çıkış 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:: Öznitelikler

QuantizedMatMul için isteğe bağlı öznitelik ayarlayıcılar.

Genel özellikler

maksimum çıkış

::tensorflow::Output max_out

min_out

::tensorflow::Output min_out

operasyon

Operation operation

dışarı

::tensorflow::Output out

Kamu işlevleri

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

Dokunma

Attrs Tactivation(
  DataType x
)

Çıkış

Attrs Toutput(
  DataType x
)

A'yı devrik

Attrs TransposeA(
  bool x
)

B'yi devrik

Attrs TransposeB(
  bool x
)