Toward IoT-Friendly Learning Models