AI-in-the-Loop technology that builds highly optimized machine learning models for embedded, edge and IoT devices