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

Better custom support #48

Open cpetig opened 4 years ago

cpetig commented 4 years ago

Custom libraries might define operators which are known to tensorflow lite, but not lite micro. This will omit declaring the Register function (which is missing from micro_ops.h) and will also not correctly encode opdata. Implement a way to attach hooks to the code generator to better support adding missing operators.