felix-johnny
felix-johnny
@satyapreetsingh Thanks for the question! When you create an application with the model using TensorFlow Lite Micro(TFLM), all parameters that you mentioned are calculated by TFLM. The link below is...
@satyapreetsingh One other detail.. when you'll have to change TARGET as cortex_m_generic instead of cortex_m_corstone_300. Let us know if it helped!
@jiaodawuyanzu Thanks for the question. CMSIS-NN follows symmetric quantization(values centered around 0). But in reality, your input and output data might not be so perfectly centered around 0 and come...
@jiaodawuyanzu The input offset is specified by TFLM's quantization [specification](https://www.tensorflow.org/lite/performance/quantization_spec). For the test cases it is generated in this python file https://github.com/ARM-software/CMSIS_5/blob/1cdd0e824db7340b543a7806e9a73244e73c675e/CMSIS/NN/Tests/UnitTest/generate_test_data.py#L888
@RockySong .. Thanks for the question. For use with TensorFlow Lite for Microcontrollers the input/weight buffers are at least word aligned, but unaligned access is something that mostly a consequence...
@jiaodawuyanzu Thanks for the question. The difference comes from the way the input offset is supposed to be handled in the padded or non-padded case. For the non-padded case we...
It would be great if we could from a performance perspective, but when there is padding the ker_sum += ker[i] operation can/should not be applied to the positions of the...
@jiaodawuyanzu Maybe it is easier to see the code in pure C.. This is the implementation from TFLite Micro.. https://github.com/tensorflow/tflite-micro/blob/7f018add81d76f1049a5acc746f4ccd7d758b106/tensorflow/lite/kernels/internal/reference/integer_ops/conv.h#L86 What that shows is that the core loop or the...
@mengna0707 I would suspect reordering for the convolution too. You'll have to see if the format from keras actually requires reordering. I am guessing here. If the keras input shape...
@onyx22574 CMSIS-NN is a part of CMSIS and follows the same versioning/release method as the wider CMSIS repository. When you download CMSIS from https://github.com/ARM-software/CMSIS_5 , you are on the develop...