cpetig / tflite_micro_compiler

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

[FEATURE]Reuse constants #38

Open cpetig opened 4 years ago

cpetig commented 4 years ago

E.g. dimensions, opdata in Alex' example https://github.com/alxhoff/STM3240G-EVAL-TensorFlow-Hello-World/blob/compiler/Src/sine.cpp Sharing these data structures (when identical) will reduce the code size of the compiled binary (especially helpful for low dimensional models).