Bringing deep learning to IoT devices