flux tensoriel : : opérations : : QuantifierV2 : : Attributs

#include <array_ops.h>

Setters d'attributs facultatifs pour QuantizeV2 .

Résumé

Attributs publics

axis_ = -1
int64
ensure_minimum_range_ = 0.01f
float
mode_ = "MIN_COMBINED"
StringPiece
narrow_range_ = false
bool
round_mode_ = "HALF_AWAY_FROM_ZERO"
StringPiece

Fonctions publiques

Axis (int64 x)
TF_MUST_USE_RESULT Attrs
La valeur par défaut est -1.
EnsureMinimumRange (float x)
TF_MUST_USE_RESULT Attrs
La valeur par défaut est 0,01.
Mode (StringPiece x)
TF_MUST_USE_RESULT Attrs
La valeur par défaut est "MIN_COMBINED".
NarrowRange (bool x)
TF_MUST_USE_RESULT Attrs
La valeur par défaut est false.
RoundMode (StringPiece x)
TF_MUST_USE_RESULT Attrs
La valeur par défaut est "HALF_AWAY_FROM_ZERO".

Attributs publics

axe_

int64 tensorflow::ops::QuantizeV2::Attrs::axis_ = -1

assurer_minimum_range_

float tensorflow::ops::QuantizeV2::Attrs::ensure_minimum_range_ = 0.01f

mode_

StringPiece tensorflow::ops::QuantizeV2::Attrs::mode_ = "MIN_COMBINED"

fourchette étroite_

bool tensorflow::ops::QuantizeV2::Attrs::narrow_range_ = false

mode_rond_

StringPiece tensorflow::ops::QuantizeV2::Attrs::round_mode_ = "HALF_AWAY_FROM_ZERO"

Fonctions publiques

Axe

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::Axis(
  int64 x
)

La valeur par défaut est -1.

Assurer la plage minimale

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::EnsureMinimumRange(
  float x
)

La valeur par défaut est 0,01.

Mode

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::Mode(
  StringPiece x
)

La valeur par défaut est "MIN_COMBINED".

Fourchette étroite

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::NarrowRange(
  bool x
)

La valeur par défaut est false.

Mode rond

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::RoundMode(
  StringPiece x
)

La valeur par défaut est "HALF_AWAY_FROM_ZERO".