tensorflow/tflite-micro
Infrastructure to enable deployment of ML models to low-power resource-constrained embedded targets (including microcontrollers and digital signal processors).
What it solves
Deep learning models are usually built for phones or servers with lots of memory. Microcontrollers and digital signal processors (DSPs) often have only tens to hundreds of kilobytes of RAM. TensorFlow Lite for Microcontrollers (TFLM) lets you run the same converted models on these tiny, bare-metal systems—no operating system required—so you can bring AI to sensors, wearables, and other low-power devices.
How it works
You start with a model converted using LiteRT (formerly known as TensorFlow Lite) or the main TensorFlow framework. TFLM then provides a compact runtime that interprets and executes that model directly on the microcontroller. It includes optimized kernel implementations for different hardware, memory management guidance, error-handling and logging utilities, and tools for profiling and debugging. The project is tested continuously against several processor families, and it ships with a Python interpreter for development and a model compression guide to shrink models further.
Who it’s for
This project is aimed at embedded developers, hardware makers, and anyone who needs to deploy machine learning on constrained devices like Arm Cortex-M chips, Cadence Xtensa DSPs, Qualcomm Hexagon, and x86/Windows systems. Community examples cover popular boards such as Arduino, ESP32, Coral Dev Board Micro, Renesas, Silicon Labs, and Ingenic MIPS, so it’s also friendly for hobbyists and prototyping.
Highlights
- Tier-1 hardware support with continuous integration for Arm Cortex-M, Cadence Xtensa, Qualcomm Hexagon, and x86/Windows
- Community platform examples for Arduino, ESP32, Coral Dev Board Micro, Renesas, Silicon Labs, and Ingenic MIPS
- Memory-management and error-handling guides tailored for resource-constrained systems
- Model compression and layer-by-layer debugging tools to reduce size and diagnose issues
- Python interpreter and benchmark/profiling support for development and performance tuning
Related
- Project
- Project
- Project
- Project
- Project