Mobile-Cloud Inference for Collaborative Intelligence