onnxruntime/docs
Yufeng Li ceeb1a65d6
Add quantization support of GEMM directly with QGemm (#8447)
QGemm takes in quantized A, B, C, and quantization parameters of output Y, in which C and quantization parameters of Y are optional. Its output can be quantized or full precision, which depends on whether quantization parameters of Y exists or not. If quant params of Y are provided, the output will be requantized or is full precision.

Comparing with QLinearMatMul and MatMulInteger, QGemm supports transpose, apha and beta attribute.

The formula for quantized GEMM is:
Y = alpha * scale_a * scale_b * ((A_int8 - zp_a) * (B_int8 - zp_b) + C_int32), in which,
C_int32 is quantized with formula: C_int32 = (beta * C) / (alpha * scale_a * scale_b)
2021-07-27 21:21:49 -07:00
..
execution_providers/images
images
python Improves documentation, show InferenceSession contructor attributes (#8494) 2021-07-26 15:58:47 +02:00
ABI_Dev_Notes.md
Android_testing.md
C_API_Guidelines.md
cmake_guideline.md
Coding_Conventions_and_Standards.md Change onnxruntime::make_unique to std::make_unique (#7502) 2021-04-29 17:04:53 -07:00
ContribOperators.md Add quantization support of GEMM directly with QGemm (#8447) 2021-07-27 21:21:49 -07:00
FAQ.md
How_To_Update_ONNX_Dev_Notes.md
Model_Test.md
NotesOnThreading.md
ONNX_Runtime_Server_Usage.md Update docs/ONNX_Runtime_Server_Usage.md (#7818) 2021-05-26 16:17:20 -07:00
onnxruntime_dependencies.dot
onnxruntime_dependencies.png
onnxruntime_extensions.md Update submodule onnxruntime-extensions. (#8282) 2021-07-13 10:21:11 +08:00
OperatorKernels.md Add quantization support of GEMM directly with QGemm (#8447) 2021-07-27 21:21:49 -07:00
ORTMobilePackageOperatorTypeSupport.md Add supported operators/types documentation for the ORT Mobile package (#7807) 2021-05-26 15:57:40 +10:00
PR_Guidelines.md
Privacy.md
Python_Dev_Notes.md
Reduced_Operator_Kernel_build.md Support required types when excluding typed registrations (#6871) 2021-03-08 08:22:07 -08:00
ReleaseManagement.md
Roadmap.md
Server.md
Versioning.md bumping onnxruntime version to 1.8.1 (#8429) 2021-07-19 16:48:56 -07:00
WinML_principles.md