A Simple Way to Learn Metrics Between Attributed Graphs