Closed dtch1997 closed 4 years ago
@dtch1997 In the CMSIS-DSP, you'll find a arm_q15_to_q7 function But you'll lose some accuracy by doing it so it is not the ideal solution.
@christophe0606 thanks. It seems odd that there is no in-built q15 average pooling solution. Perhaps that could be a useful feature in the future.
I am following this tutorial to convert my ONNX model to CMSIS-NN.
I would like to have my whole model work in q15. However I noticed there is no
arm_avgpool
that works with q15 input and no data conversion function to convert q15 to q7 to usearm_avgpool_q7_HWC
. How should I convert the q15 input to a q7 that can be fed into this layer?