Sampling#
Random walks#
single-GPU#
|
Compute uniform random walks for each nodes in 'start_vertices'. |
|
Compute biased random walks for each nodes in 'start_vertices'. |
|
Computes random walks for each node in 'start_vertices', under the node2vec sampling framework. |
multi-GPU#
|
compute random walks for each nodes in 'start_vertices' and returns a padded result along with the maximum path length. |
|
compute random walks under the uniform sampling framework for each nodes in 'start_vertices' and returns a padded result along with the maximum path length. |
|
compute random walks under the biased sampling framework for each nodes in 'start_vertices' and returns a padded result along with the maximum path length. |
|
compute random walks under the node2vec sampling framework for each nodes in 'start_vertices' and returns a padded result along with the maximum path length. |
Neighbor sampling#
Performs uniform/biased neighborhood sampling, which samples nodes from a graph based on the current node's neighbors, with a corresponding fan_out value at each hop. |
|
Performs uniform/biased neighborhood sampling, which samples nodes from a graph based on the current node's neighbors, with a corresponding fan_out value at each hop. |