Edge-to-Edge Cooperative Artificial Intelligence in Smart Cities with On-Demand Learning Offloading | IEEE Conference Publication | IEEE Xplore