I want to use DGL with Pytorch to sample the graph because the graph has massive nodes. I find DGL have already implemented the sampling algorithm but I have no idea about how to use it.
You can see the example here: https://github.com/dmlc/dgl/blob/master/examples/mxnet/sampling/gcn_ns_sc.py#L192
We’ll provide a tutorial about this sampling API very soon.