tensorflow::ops::QuantizeV2::Attrs

#include <array_ops.h>

Définiteurs d'attributs optionnels 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
Par défaut, -1.
EnsureMinimumRange (float x)
TF_MUST_USE_RESULT Attrs
Valeur par défaut : 0,01.
Mode (StringPiece x)
TF_MUST_USE_RESULT Attrs
Par défaut, la valeur est « MIN_COMBINED ».
NarrowRange (bool x)
TF_MUST_USE_RESULT Attrs
Par défaut, la valeur est false.
RoundMode (StringPiece x)
TF_MUST_USE_RESULT Attrs
Par défaut, la valeur est « HALF_AWAY_FROM_ZERO ».

attributs publics

axe_

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

assurer_plage_minimale

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

mode_

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

gamme é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
)

Par défaut, -1.

Assurer la plage minimale

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

Valeur par défaut : 0,01.

Mode

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

Par défaut, la valeur est « MIN_COMBINED ».

NarrowRange

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

Par défaut, la valeur est false.

Mode rond

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

Par défaut, la valeur est « HALF_AWAY_FROM_ZERO ».