.. _api-sampling:

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

.. automodule:: dgl.sampling

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

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

    random_walk
    pack_traces

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

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

    sample_neighbors
    select_topk
    PinSAGESampler
