Artificial Intelligence for Edge Computing