EiF: Toward an Elastic IoT Fog Framework for AI Services | Synapse