tensoreflusso:: ops:: QuantizedMatMul

#include <math_ops.h>

Eseguire una moltiplicazione di matrice quantizzata di a per la matrice b .

Riepilogo

Gli input devono essere matrici bidimensionali e la dimensione interna di a (dopo essere stata trasposta se transpose_a è diverso da zero) deve corrispondere alla dimensione esterna di b (dopo essere stata trasposta se transposed_b è diverso da zero).

Argomenti:

  • scope: un oggetto Scope
  • a: Deve essere un tensore bidimensionale.
  • b: deve essere un tensore bidimensionale.
  • min_a: il valore float rappresentato a valore quantizzato più basso.
  • max_a: il valore float che rappresenta a valore quantizzato più alto.
  • min_b: il valore float rappresentato dal valore b quantizzato più basso.
  • max_b: il valore float rappresentato dal valore b quantizzato più alto.

Attributi facoltativi (vedi Attrs ):

  • transpose_a: se vero, a viene trasposto prima della moltiplicazione.
  • transpose_b: se vero, b viene trasposto prima della moltiplicazione.
  • Tattivazione: il tipo di output prodotto dalla funzione di attivazione in seguito a questa operazione.

Ritorna:

  • Output fuori
  • Output min_out: il valore float rappresentato dal valore di output quantizzato più basso.
  • Output max_out: il valore float rappresentato dal valore di output quantizzato più alto.

Costruttori e distruttori

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)

Attributi pubblici

max_out
min_out
operation
out

Funzioni pubbliche statiche

Tactivation (DataType x)
Toutput (DataType x)
TransposeA (bool x)
TransposeB (bool x)

Strutture

tensorflow:: ops:: QuantizedMatMul:: Attrs

Setter di attributi facoltativi per QuantizedMatMul .

Attributi pubblici

massimizzare

::tensorflow::Output max_out

min_out

::tensorflow::Output min_out

operazione

Operation operation

fuori

::tensorflow::Output out

Funzioni pubbliche

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
)

Funzioni pubbliche statiche

Attivazione

Attrs Tactivation(
  DataType x
)

Tuscita

Attrs Toutput(
  DataType x
)

TrasporreA

Attrs TransposeA(
  bool x
)

TrasporreB

Attrs TransposeB(
  bool x
)