tensorflow::ops::Dequantize::Attrs

#include <array_ops.h>

Các thiết lập thuộc tính tùy chọn cho Dequantize .

Bản tóm tắt

Thuộc tính công khai

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

Chức năng công cộng

Axis (int64 x)
TF_MUST_USE_RESULT Attrs
Mặc định là -1.
Dtype (DataType x)
TF_MUST_USE_RESULT Attrs
Kiểu dữ liệu của tensor đầu ra.
Mode (StringPiece x)
TF_MUST_USE_RESULT Attrs
Mặc định là "MIN_COMBINED".
NarrowRange (bool x)
TF_MUST_USE_RESULT Attrs
Mặc định là false.

Thuộc tính công khai

trục_

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

dtype_

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

cách thức_

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

phạm vi hẹp

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

Chức năng công cộng

Trục

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

Mặc định là -1.

Loại D

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

Kiểu dữ liệu của tensor đầu ra.

Hiện tại, Dequantize hỗ trợ kiểu dữ liệu float và bfloat16. Nếu 'dtype' là 'bfloat16', nó chỉ hỗ trợ chế độ 'MIN_COMBINED'.

Mặc định là DT_FLOAT

Cách thức

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

Mặc định là "MIN_COMBINED".

Phạm vi hẹp

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

Mặc định là false.