dgl.sampling.rst 570 Bytes
Newer Older
1
2
3
4
5
6
7
.. _api-sampling:

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

.. automodule:: dgl.sampling

8
Random walk
9
10
11
12
13
14
------------------------------

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

    random_walk
15
    node2vec_random_walk
16
17
    pack_traces

18
Neighbor sampling
19
20
21
22
23
24
---------------------------

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

    sample_neighbors
25
    sample_labors
26
    sample_neighbors_biased
27
    select_topk
28
    PinSAGESampler
29
30
31
32
33
34
35
36

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

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

    global_uniform_negative_sampling