テンソルフロー::作戦::量子化されたMatMul::属性

#include <math_ops.h>

QuantizedMatMulのオプションの属性セッター。

まとめ

パブリック属性

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

公共機能

Tactivation (DataType x)
TF_MUST_USE_RESULT Attrs
この操作の後にアクティベーション関数によって生成される出力のタイプ。
Toutput (DataType x)
TF_MUST_USE_RESULT Attrs
デフォルトは DT_QINT32 です。
TransposeA (bool x)
TF_MUST_USE_RESULT Attrs
true の場合、 aは乗算の前に転置されます。
TransposeB (bool x)
TF_MUST_USE_RESULT Attrs
true の場合、 bは乗算の前に転置されます。

パブリック属性

活性化_

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

出力_

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

転置_a_

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

転置_b_

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

公共機能

活性化

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

この操作の後にアクティベーション関数によって生成される出力のタイプ。

デフォルトは DT_QUINT8

出力

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

デフォルトは DT_QINT32 です。

トランスポーズA

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

true の場合、 aは乗算の前に転置されます。

デフォルトは false

トランスポーズB

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

true の場合、 bは乗算の前に転置されます。

デフォルトは false