mocleiri/tensorflow-micropython-examples

Multi thread tflite

MATTYGILO opened this issue · 1 comments

How do I use multiple threads for my tflite?

You can use the micropython thread class. But it depends on the port what CPU the thread actually runs on. For example ESP32 threads always run on the APP core (the micropython freertos task is pinned to the APP core). I think RP2040 threads are supposed to use both cores.