On Graph Learning with Neural Networks