Foundation of Cloud, IoT, and Edge ML