"tests/python/vscode:/vscode.git/clone" did not exist on "ce8a7dd314df9dd89964604571e5eeebc7009726"
dgl.sampling.rst 552 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_neighbors_biased
26
    select_topk
27
    PinSAGESampler
28
29
30
31
32
33
34
35

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

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

    global_uniform_negative_sampling