تدفق التوتر:: العمليات:: كوانتيزV2:: أترز

#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

round_mode_

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".