tensorflow:: 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
القيمة الافتراضية هي خطأ.
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
)

القيمة الافتراضية هي خطأ.

وضع الجولة

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

القيمة الافتراضية هي "HALF_AWAY_FROM_ZERO".