tensorflow-micropython-examples icon indicating copy to clipboard operation
tensorflow-micropython-examples copied to clipboard

Multi thread tflite

Open MATTYGILO opened this issue 2 years ago • 1 comments

How do I use multiple threads for my tflite?

MATTYGILO avatar Jun 10 '22 12:06 MATTYGILO

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.

mocleiri avatar Jun 17 '22 04:06 mocleiri