In a (much) earlier post, I described the intuition and some of the math behind a basic graph neural network (GNN) algorithm, GraphSAGE. How can we implement GraphSAGE for an actual task? I’m a PyTorch person and PyG is my go-to for GNN experiments. For much larger graphs, DGL…