Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Chudyk <mateuszchudyk@gmail.com>2019-05-24 15:45:11 +0300
committerMateusz Chudyk <mateuszchudyk@gmail.com>2019-06-18 16:38:53 +0300
commitf0785bea3b42a8e5ab7e322b5ad0dc1e9018d65f (patch)
treeacee1462bbf5fd31ec58a1988c2d4f03009eefcf /README.md
parent5239e8820c3afa68abd679bfe7cad7e7b9b9893e (diff)
Add support for postprocess pipeline
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 83d25be..7742cbb 100644
--- a/README.md
+++ b/README.md
@@ -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`.