mlvlab / SELAR

Official PyTorch Implementation of "Self-supervised Auxiliary Learning with Meta-paths for Heterogeneous Graphs". NeurIPS 2020.
52 stars 12 forks source link

How does neighbor_sampler work in __produce_subgraph__ function? #4

Open renli1024 opened 3 years ago

renli1024 commented 3 years ago

Hi, thanks for opening source such a good job first!

I want to know how does neighbor_sampler here work? It seems that it is a function supported by torch_cluster, but I cannot find the corresponding document. Could you give me some guides about how to use it or the document it relates to?

Thank you a lot.