tensoreflusso:: ops:: Intervallo di riquantizzazione

#include <math_ops.h>

Calcola un intervallo che copre i valori effettivi presenti in un tensore quantizzato.

Riepilogo

Dato un tensore quantizzato descritto da (input, input_min, input_max) , restituisce un intervallo che copre i valori effettivi presenti in quel tensore. Questa operazione viene in genere utilizzata per produrre requested_output_min e requested_output_max per Requantize .

Argomenti:

  • scope: un oggetto Scope
  • input_min: il valore float rappresentato dal valore di input quantizzato minimo.
  • input_max: il valore float che rappresenta il valore di input quantizzato massimo.

Ritorna:

  • Output output_min: l'output minimo calcolato.
  • Output output_max: l'output massimo calcolato.

Costruttori e distruttori

RequantizationRange (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max)

Attributi pubblici

operation
output_max
output_min

Attributi pubblici

operazione

Operation operation

uscita_max

::tensorflow::Output output_max

uscita_min

::tensorflow::Output output_min

Funzioni pubbliche

Intervallo di riquantizzazione

 RequantizationRange(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input input_min,
  ::tensorflow::Input input_max
)