텐서플로우:: ops:: QuantizeV2:: Attrs

#include <array_ops.h>

QuantizeV2 에 대한 선택적 속성 설정기입니다.

요약

공개 속성

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

공공 기능

Axis (int64 x)
TF_MUST_USE_RESULT Attrs
기본값은 -1입니다.
EnsureMinimumRange (float x)
TF_MUST_USE_RESULT Attrs
기본값은 0.01입니다.
Mode (StringPiece x)
TF_MUST_USE_RESULT Attrs
기본값은 "MIN_COMBINED"입니다.
NarrowRange (bool x)
TF_MUST_USE_RESULT Attrs
기본값은 false입니다.
RoundMode (StringPiece x)
TF_MUST_USE_RESULT Attrs
기본값은 "HALF_AWAY_FROM_ZERO"입니다.

공개 속성

중심선_

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

최소 범위 보장

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

방법_

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

좁은 범위_

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

라운드 모드_

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

공공 기능

중심선

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

기본값은 -1입니다.

최소 범위 보장

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

기본값은 0.01입니다.

방법

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

기본값은 "MIN_COMBINED"입니다.

내로우 레인지

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

기본값은 false입니다.

라운드모드

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

기본값은 "HALF_AWAY_FROM_ZERO"입니다.