tensorflow::ops::QuantizeV2::Attrs

#include <array_ops.h>

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

Bản tóm tắt

Thuộc tính công khai

mode_ = "MIN_COMBINED"
StringPiece
round_mode_ = "HALF_AWAY_FROM_ZERO"
StringPiece

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

Mode (StringPiece x)
TF_MUST_USE_RESULT Attrs
Mặc định là "MIN_COMBINED".
RoundMode (StringPiece x)
TF_MUST_USE_RESULT Attrs
Mặc định là "Nửa đường từ số không".

Thuộc tính công khai

cách thức_

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

chế độ tròn

StringPiece tensorflow::ops::QuantizeV2::Attrs::round_mode_ = "HALF_AWAY_FROM_ZERO"

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

Cách thức

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

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

Chế độ tròn

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

Mặc định là "Nửa đường từ số không".