mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-05 19:54:25 +08:00
* update knn graph docs * more docs * [Doc] transform module docstrings * remove copy_ndata and copy_edata * fix * lint * fix * fix * fix * clean up docstrings * fix docstring * dtype specifications * addresses comments * fix Co-authored-by: Mufei Li <mufeili1996@gmail.com> Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com>
30 lines
587 B
ReStructuredText
30 lines
587 B
ReStructuredText
.. _api-sampling:
|
|
|
|
dgl.sampling
|
|
=================================
|
|
|
|
.. automodule:: dgl.sampling
|
|
|
|
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
|