przepływ tensorowy:: ops:: QuantizeV2:: Atrybuty

#include <array_ops.h>

Opcjonalne narzędzia ustawiające atrybuty dla QuantizeV2 .

Streszczenie

Atrybuty publiczne

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

Funkcje publiczne

Axis (int64 x)
TF_MUST_USE_RESULT Attrs
Domyślnie -1.
EnsureMinimumRange (float x)
TF_MUST_USE_RESULT Attrs
Wartość domyślna to 0,01.
Mode (StringPiece x)
TF_MUST_USE_RESULT Attrs
Domyślnie jest to „MIN_COMBINED”.
NarrowRange (bool x)
TF_MUST_USE_RESULT Attrs
Domyślnie jest to fałsz.
RoundMode (StringPiece x)
TF_MUST_USE_RESULT Attrs
Domyślnie jest to „HALF_AWAY_FROM_ZERO”.

Atrybuty publiczne

oś_

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

zapewnij_minimalny_zakres_

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

tryb_

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

wąski zakres_

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

tryb_okrągły_

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

Funkcje publiczne

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

Domyślnie -1.

Zapewnij minimalny zakres

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

Wartość domyślna to 0,01.

Tryb

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

Domyślnie jest to „MIN_COMBINED”.

Wąski zakres

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

Domyślnie jest to fałsz.

Tryb okrągły

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

Domyślnie jest to „HALF_AWAY_FROM_ZERO”.