Years ago I started writing a library of C++ templates for neural networks and machine learning. The goal was to run these algorithms within embedded systems. Intel agreed to let me open-source it. The repo and associated site are still under construction but the code is ready to play with for anyone interested. I am not that familiar with how tinyML is implemented but will be checking it out.