# tensorflow::ops::QuantizedMatMul::Attrs

`#include <math_ops.h>`

Optional attribute setters for [QuantizedMatMul](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/quantized-mat-mul#classtensorflow_1_1ops_1_1_quantized_mat_mul).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a4ec61ca1633c71f9778635daa7a1891a = DT_QUINT8` | `DataType` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a2d64400431cee46f3b2f01ebce918312 = DT_QINT32` | `DataType` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a5be09bd03f0fdf0b4e57cb33664361e8 = false` | `bool` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a633d7f13c23dea40282a3b296d7f996c = false` | `bool` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a6e5cb6be951ef2554cc04296ad0bffad(DataType x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs` The type of output produced by activation function following this operation. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1af3a761ecd8ebc7dad74137b6a11e172f(DataType x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs` Defaults to DT_QINT32. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a960ecd4efbd8278fac1812933e2ec61a(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs` If true, `a` is transposed before multiplication. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1af6da7dd47a4cd0b885ee662f29745f93(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs` If true, `b` is transposed before multiplication. |

## Public attributes

### Tactivation_

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

### Toutput_

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

### transpose_a_

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

### transpose_b_

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

## Public functions

### Tactivation

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::Tactivation(
  DataType x
)
```
The type of output produced by activation function following this operation.

Defaults to DT_QUINT8

### Toutput

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::Toutput(
  DataType x
)
```
Defaults to DT_QINT32.

### TransposeA

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::TransposeA(
  bool x
)
```
If true, `a` is transposed before multiplication.

Defaults to false

### TransposeB

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::TransposeB(
  bool x
)
```
If true, `b` is transposed before multiplication.

Defaults to false