Skip to content

TinyInferCpp-Lab ​

We hand-roll a toy neural-network inference engine from scratch in C++23 (Input → Dense → ReLU → Dense → Argmax): float32, fixed structure, and a core path with no heap allocation, no exceptions, and no RTTI. It's a teaching project — not a replacement for TFLite Micro / STM32Cube.AI / CMSIS-NN / TinyMaix / NNoM / emlearn.

Articles ​

What's next (in progress) ​

Stage 3 (ReLU / Argmax) → Stage 4 (DemoModel wiring) → Stage 5 (NumPy training & export) → Stage 6 (Python/C++ golden-test cross-check) → Stage 7 (embedded-friendliness audit) → Stage 8 (MCU porting plan). The companion project lives at code/volumn_codes/vol8-labs/ai/tiny_ml/.

pdf-latest-4-g85128cc · 85128cc · 2026-10-05