.. _api-sampling:

dgl.sampling
=================================

.. automodule:: dgl.sampling

Random walk
------------------------------

.. autosummary::
    :toctree: ../../generated/

    random_walk
    node2vec_random_walk
    pack_traces

Neighbor sampling
---------------------------

.. autosummary::
    :toctree: ../../generated/

    sample_neighbors
    select_topk
    PinSAGESampler
