Ncnn: quantized int8 storage and operation

Created on 4 Jan 2018  ·  5Comments  ·  Source: Tencent/ncnn

enhancement

Most helpful comment

  • [x] int8/uint8 storage support in Mat
  • [x] Quantize Dequantize layer
  • [x] Integer convolution with bias
  • [x] ReLU6 layer (implemented as Clip)
  • [ ] tensorflow quantized mobilenet model
  • [ ] arm neon optimization

All 5 comments

  • [x] int8/uint8 storage support in Mat
  • [x] Quantize Dequantize layer
  • [x] Integer convolution with bias
  • [x] ReLU6 layer (implemented as Clip)
  • [ ] tensorflow quantized mobilenet model
  • [ ] arm neon optimization

This project seems like a good reference to quantize a NN model under embedded environment:
https://github.com/ARM-software/ML-KWS-for-MCU/blob/master/Deployment/Quant_guide.md

Hi, I wonder if the computing of each layer is fixed point data type. As far as I know, the ristretto implements their dynamic fixed point data type by simulation. They just tranfer the data to fixed point and assgin back using float. Thus the real computing is still based on float.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

varbegin picture varbegin  ·  3Comments

yizhaoyanbo picture yizhaoyanbo  ·  3Comments

chouhongzao picture chouhongzao  ·  4Comments

ghost picture ghost  ·  3Comments

AlexeyAB picture AlexeyAB  ·  3Comments