diff options
author | Mateusz Chudyk <mateuszchudyk@gmail.com> | 2019-05-24 15:45:11 +0300 |
---|---|---|
committer | Mateusz Chudyk <mateuszchudyk@gmail.com> | 2019-06-18 16:38:53 +0300 |
commit | f0785bea3b42a8e5ab7e322b5ad0dc1e9018d65f (patch) | |
tree | acee1462bbf5fd31ec58a1988c2d4f03009eefcf /README.md | |
parent | 5239e8820c3afa68abd679bfe7cad7e7b9b9893e (diff) |
Add support for postprocess pipeline
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ intgemm::Int16::PrepareA(A, A_prepared, quant_mult, A_rows, width); /* Prepare B for multiplication. This is typically done offline. */ intgemm::Int16::PrepareB(B, B_prepared, quant_mult, width, B_cols); /* Multiply and produce results in C */ -intgemm::Int16::Multiply<intgemm::JustUnquantizeC>(A_prepared.begin(), B_prepared.begin(), intgemm::JustUnquantizeC(C.begin(), 1.0 / (quant_mult * quant_mult)), A_rows, width, B_cols); +intgemm::Int16::Multiply(A_prepared.begin(), B_prepared.begin(), C.begin(), intgemm::CreatePostprocessPipeline(intgemm::Unquantize(1.0 / (quant_mult * quant_mult))), A_rows, width, B_cols); ``` For 8-bit, use `Int8` instead of `Int16`. |