aboutsummaryrefslogtreecommitdiff
path: root/doc/quantization_example.cc
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2018-02-23 11:33:20 -0800
committerMiao Wang <miaowang@google.com>2018-02-23 11:40:25 -0800
commit7d0d5a611e629e7c8946e6720baa6846ade9f015 (patch)
treea6ece8759b2fc774b39edea08417e08fa633a73c /doc/quantization_example.cc
parent8a6b22a5d1f7db709938f33ad5f836dc3aaa7e31 (diff)
downloadgemmlowp-7d0d5a611e629e7c8946e6720baa6846ade9f015.tar.gz
Test: mm Test: NeuralNetworksTests pass Change-Id: I2acafc240269ed81997a3a9d06321cbc2ca5e528
Diffstat (limited to 'doc/quantization_example.cc')
-rw-r--r--doc/quantization_example.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/quantization_example.cc b/doc/quantization_example.cc
index 4368de2..d7b147d 100644
--- a/doc/quantization_example.cc
+++ b/doc/quantization_example.cc
@@ -201,7 +201,7 @@ std::ostream& operator<<(std::ostream& s,
//
// This is how to obtain the fixed-point multiplier and right shift
// parameters to pass to
-// OutputStageQuantizeDownInt32ToUint8ScaleByFixedPoint.
+// OutputStageQuantizeDownInt32ByFixedPoint.
//
// Note: all this code only needs to run offline to generate the quantized
// neural network workload, not at runtime on the
@@ -347,7 +347,7 @@ int main() {
<< "use quantized arithmetic.\n"
<< std::endl;
- gemmlowp::OutputStageQuantizeDownInt32ToUint8ScaleByFixedPoint
+ gemmlowp::OutputStageQuantizeDownInt32ByFixedPoint
quantize_down_stage;
quantize_down_stage.result_offset_after_shift = result_offset;
quantize_down_stage.result_fixedpoint_multiplier = quantized_multiplier;