4 ms·
I built a Rust TinyML compiler for my master thesis project: https://github.com/matteocarnelos/microflow-rs https://github.com/matteocarnelos/microflow-rs It u
by matteocarnelos 3y ago
I built a Rust TinyML compiler for my master thesis project: https://github.com/matteocarnelos/microflow-rs https://github.com/matteocarnelos/microflow-rs
It uses Rust procedural macros to evaluate the model at compile time and create a predict() function that performs inference on the given model. By doing so, I was able to strip down the binary way more than TensorFlow Lite for Microcontrollers and other engines. I even managed to run a speech command recognizer (TinyConv) on an 8-bit ATmega328 (Arduino Uno).