tensoreflusso:: ops:: Quantizzare e dequantizzare V3

#include <array_ops.h>

Quantizza quindi dequantizza un tensore.

Riepilogo

È quasi identico a QuantizeAndDequantizeV2 , tranne per il fatto che num_bits è un tensore, quindi il suo valore può cambiare durante l'addestramento.

Argomenti:

Ritorna:

  • Output : il tensore di uscita.

Costruttori e distruttori

QuantizeAndDequantizeV3 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max, :: tensorflow::Input num_bits)
QuantizeAndDequantizeV3 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max, :: tensorflow::Input num_bits, const QuantizeAndDequantizeV3::Attrs & attrs)

Attributi pubblici

operation
output

Funzioni pubbliche

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Funzioni pubbliche statiche

NarrowRange (bool x)
RangeGiven (bool x)
SignedInput (bool x)

Strutture

tensorflow:: ops:: QuantizeAndDequantizeV3:: Attrs

Setter di attributi facoltativi per QuantizeAndDequantizeV3 .

Attributi pubblici

operazione

Operation operation

produzione

::tensorflow::Output output

Funzioni pubbliche

Quantizzare e dequantizzare V3

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

Quantizzare e dequantizzare V3

 QuantizeAndDequantizeV3(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input input_min,
  ::tensorflow::Input input_max,
  ::tensorflow::Input num_bits,
  const QuantizeAndDequantizeV3::Attrs & attrs
)

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensorflow::Output

 operator::tensorflow::Output() const 

Funzioni pubbliche statiche

Gamma ristretta

Attrs NarrowRange(
  bool x
)

Gamma data

Attrs RangeGiven(
  bool x
)

SignedInput

Attrs SignedInput(
  bool x
)