#include <math_ops.h>
Perform a quantized matrix multiplication of a by the matrix b.
The inputs must be two-dimensional matrices and the inner dimension of a (after being transposed if transpose_a is non-zero) must match the outer dimension of b (after being transposed if transposed_b is non-zero).
Arguments:
a value represents.a value represents.b value represents.b value represents.Optional attributes (see Attrs):
a is transposed before multiplication.b is transposed before multiplication.Returns:
Output outOutput min_out: The float value that the lowest quantized output value represents.Output max_out: The float value that the highest quantized output value represents. | Constructors and Destructors | |
|---|---|
QuantizedMatMul(const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, ::tensorflow::Input min_a, ::tensorflow::Input max_a, ::tensorflow::Input min_b, ::tensorflow::Input max_b) | |
QuantizedMatMul(const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, ::tensorflow::Input min_a, ::tensorflow::Input max_a, ::tensorflow::Input min_b, ::tensorflow::Input max_b, const QuantizedMatMul::Attrs & attrs) |
| Public attributes | |
|---|---|
max_out | |
min_out | |
out | |
| Public static functions | |
|---|---|
Tactivation(DataType x) | |
Toutput(DataType x) | |
TransposeA(bool x) | |
TransposeB(bool x) | |
| Structs | |
|---|---|
| tensorflow::ops::QuantizedMatMul::Attrs | Optional attribute setters for QuantizedMatMul. |
::tensorflow::Output max_out
::tensorflow::Output min_out
::tensorflow::Output out
QuantizedMatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, ::tensorflow::Input min_a, ::tensorflow::Input max_a, ::tensorflow::Input min_b, ::tensorflow::Input max_b )
QuantizedMatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, ::tensorflow::Input min_a, ::tensorflow::Input max_a, ::tensorflow::Input min_b, ::tensorflow::Input max_b, const QuantizedMatMul::Attrs & attrs )
Attrs Tactivation( DataType x )
Attrs Toutput( DataType x )
Attrs TransposeA( bool x )
Attrs TransposeB( bool x )
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/quantized-mat-mul.html