flux tensoriel : : opérations : : QuantizeAndDequantizeV3

#include <array_ops.h>

Quantise puis déquantifie un tenseur.

Résumé

C'est presque identique à QuantizeAndDequantizeV2 , sauf que num_bits est un tenseur, donc sa valeur peut changer pendant l'entraînement.

Arguments:

  • scope : un objet Scope

Retour:

  • Output : Le tenseur de sortie.

Constructeurs et Destructeurs

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)

Attributs publics

operation
output

Fonctions publiques

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

Fonctions statiques publiques

Axis (int64 x)
NarrowRange (bool x)
RangeGiven (bool x)
SignedInput (bool x)

Structures

tensorflow :: ops :: QuantizeAndDequantizeV3 :: Attrs

Setters d'attributs facultatifs pour QuantizeAndDequantizeV3 .

Attributs publics

opération

Operation operation

sortir

::tensorflow::Output output

Fonctions publiques

QuantizeAndDequantizeV3

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

QuantizeAndDequantizeV3

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

nœud

::tensorflow::Node * node() const 

opérateur :: tensorflow :: Entrée

 operator::tensorflow::Input() const 

opérateur :: tensorflow :: Sortie

 operator::tensorflow::Output() const 

Fonctions statiques publiques

Axe

Attrs Axis(
  int64 x
)

Fourchette étroite

Attrs NarrowRange(
  bool x
)

PlageDonnée

Attrs RangeGiven(
  bool x
)

Entrée signée

Attrs SignedInput(
  bool x
)