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

Fix support for tensorflow 2.4 #55

Closed cpetig closed 3 years ago

cpetig commented 4 years ago

The context helper is not understood, the code currently compiles, but can't find the tensors at code creation time.

cpetig commented 4 years ago

See also https://groups.google.com/a/tensorflow.org/forum/#!topic/tflite/0yOyOc8k_wk - I took a deeper look and found that the task is much larger than expected. (It all started with interpreter_->tensors_size() returning zero 😟)

cpetig commented 3 years ago

Rafael kindly fixed the problem in https://github.com/cpetig/tflite_micro_compiler/commit/3f1b2d9da007a95ad969af1015375d8cd59691af