cpetig / tflite_micro_compiler

generate tflite micro code which bypasses the interpreter (directly calls into kernels)
Apache License 2.0
77 stars 26 forks source link

Output const arrays and for loops, reducing compiled code size #14

Closed cpetig closed 4 years ago

cpetig commented 4 years ago

Hi Rafael, I would like to get your opinion on this. Readability and MISRA might warrant small changes, but I am quite happy with the result. I will do some size comparisons tomorrow.

Future changes might include figuring out which features (quantization, dynamic memory) are used in the model and reducing the const arrays and initialization code accordingly.