diff options
author | Miao Wang <miaowang@google.com> | 2018-02-23 11:33:20 -0800 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2018-02-23 11:40:25 -0800 |
commit | 7d0d5a611e629e7c8946e6720baa6846ade9f015 (patch) | |
tree | a6ece8759b2fc774b39edea08417e08fa633a73c /doc/quantization_example.cc | |
parent | 8a6b22a5d1f7db709938f33ad5f836dc3aaa7e31 (diff) | |
download | gemmlowp-7d0d5a611e629e7c8946e6720baa6846ade9f015.tar.gz |
Rebase gemmlowp to ecae4d1android-wear-p-preview-2android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7o-mr1-iot-preview-8o-mr1-iot-preview-7
Test: mm
Test: NeuralNetworksTests pass
Change-Id: I2acafc240269ed81997a3a9d06321cbc2ca5e528
Diffstat (limited to 'doc/quantization_example.cc')
-rw-r--r-- | doc/quantization_example.cc | 4 |
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; |