mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-05 19:54:25 +08:00
33 lines
620 B
ReStructuredText
33 lines
620 B
ReStructuredText
.. _api-sampling:
|
|
|
|
dgl.sampling
|
|
=================================
|
|
|
|
.. automodule:: dgl.sampling
|
|
|
|
Sampling algorithms on graphs.
|
|
|
|
Random walk sampling functions
|
|
------------------------------
|
|
|
|
.. autosummary::
|
|
:toctree: ../../generated/
|
|
|
|
random_walk
|
|
pack_traces
|
|
|
|
Neighbor sampling functions
|
|
---------------------------
|
|
|
|
.. autosummary::
|
|
:toctree: ../../generated/
|
|
|
|
sample_neighbors
|
|
select_topk
|
|
|
|
|
|
Builtin sampler classes for more complicated sampling algorithms
|
|
----------------------------------------------------------------
|
|
.. autoclass:: RandomWalkNeighborSampler
|
|
.. autoclass:: PinSAGESampler
|