Deploying AI at the Edge: From Operation to Automation