Skip to content

TinyInferCpp-Lab

Build a toy neural-network inference engine from scratch in C++23 (Input → Dense → ReLU → Dense → Argmax): float32, fixed structure, no heap / no exceptions / no RTTI on the core path. For learning — not a replacement for TFLite Micro / STM32Cube.AI / CMSIS-NN / TinyMaix / NNoM / emlearn.

Articles

What's next (in progress)

Stage 2 (Dense layer & weight layout) → Stage 3 (ReLU / Argmax) → Stage 4 (DemoModel wiring) → Stage 5 (NumPy training & export) → Stage 6 (Python/C++ golden-test diff) → Stage 7 (embedded-friendliness audit) → Stage 8 (MCU porting plan). Companion project at code/volumn_codes/vol8-labs/ai/tiny_ml/.

v0.10.0-6-gbcee94e · bcee94e · 2026-08-20