Envoyer par SMS: Deep learning of contagion dynamics on complex networks