.. _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
    sample_labors
    sample_neighbors_biased
    select_topk
    PinSAGESampler

Negative sampling
-----------------

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

    global_uniform_negative_sampling
