tensorflow:: אופס:: דקוונטיזה:: Attrs

#include <array_ops.h>

קובעי תכונות אופציונליים עבור Dequantize .

סיכום

תכונות ציבוריות

axis_ = -1
int64
dtype_ = DT_FLOAT
DataType
mode_ = "MIN_COMBINED"
StringPiece
narrow_range_ = false
bool

תפקידים ציבוריים

Axis (int64 x)
TF_MUST_USE_RESULT Attrs
ברירת המחדל היא -1.
Dtype (DataType x)
TF_MUST_USE_RESULT Attrs
סוג טנסור הפלט.
Mode (StringPiece x)
TF_MUST_USE_RESULT Attrs
ברירת המחדל היא "MIN_COMBINED".
NarrowRange (bool x)
TF_MUST_USE_RESULT Attrs
ברירת המחדל ל-false.

תכונות ציבוריות

צִיר_

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

dtype_

DataType tensorflow::ops::Dequantize::Attrs::dtype_ = DT_FLOAT

מצב_

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

טווח צר_

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

תפקידים ציבוריים

צִיר

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

ברירת המחדל היא -1.

Dtype

TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Dtype(
  DataType x
)

סוג טנסור הפלט.

נכון לעכשיו Dequantize תומך ב-float וב-bfloat16. אם 'dtype' הוא 'bfloat16', הוא תומך רק במצב 'MIN_COMBINED'.

ברירת המחדל היא DT_FLOAT

מצב

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

ברירת המחדל היא "MIN_COMBINED".

טווח צר

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

ברירת המחדל ל-false.