جریان تنسور:: عملیات:: 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» است.