The Quest for the Cutest Neural Network: A Cortex-M0 Adventure
2025-05-05
The author attempts to run a small neural network on a resource-constrained Cortex-M0 microcontroller for pose estimation. Initial attempts using frameworks like TensorFlow Lite Micro and MicroFlow proved too bulky and reliant on floating-point operations. He ultimately decided to build a purely integer-based neural network from scratch using JAX and hand-write the inference code. The journey was fraught with challenges, and the author shares valuable lessons learned, providing insights for developers aiming to run neural networks on resource-limited devices.
Development
model quantization