tensorflow::ops::QuantizedMatMul::Attrs

#include <math_ops.h>

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

Bản tóm tắt

Thuộc tính công khai

Tactivation_ = DT_QUINT8
DataType
Toutput_ = DT_QINT32
DataType
transpose_a_ = false
bool
transpose_b_ = false
bool

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

Tactivation (DataType x)
TF_MUST_USE_RESULT Attrs
Loại đầu ra được tạo ra bởi hàm kích hoạt sau thao tác này.
Toutput (DataType x)
TF_MUST_USE_RESULT Attrs
Mặc định là DT_QINT32.
TransposeA (bool x)
TF_MUST_USE_RESULT Attrs
Nếu đúng, biến a sẽ được chuyển vị trước khi nhân.
TransposeB (bool x)
TF_MUST_USE_RESULT Attrs
Nếu đúng, b được chuyển vị trước khi nhân.

Thuộc tính công khai

Kích hoạt_

DataType tensorflow::ops::QuantizedMatMul::Attrs::Tactivation_ = DT_QUINT8

Đầu ra_

DataType tensorflow::ops::QuantizedMatMul::Attrs::Toutput_ = DT_QINT32

chuyển_một_

bool tensorflow::ops::QuantizedMatMul::Attrs::transpose_a_ = false

chuyển vị_b_

bool tensorflow::ops::QuantizedMatMul::Attrs::transpose_b_ = false

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

Kích hoạt T

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::Tactivation(
  DataType x
)

Loại đầu ra được tạo ra bởi hàm kích hoạt sau thao tác này.

Mặc định là DT_QUINT8

Đầu ra

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::Toutput(
  DataType x
)

Mặc định là DT_QINT32.

Chuyển vị A

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::TransposeA(
  bool x
)

Nếu đúng, biến a sẽ được chuyển vị trước khi nhân.

Mặc định là false

Chuyển vị B

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::TransposeB(
  bool x
)

Nếu đúng, b được chuyển vị trước khi nhân.

Mặc định là false