mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-06 20:04:24 +08:00
* first commit * a bunch of fixes * add unique * lint * lint * lint * address comments * Update negative_sampler.py * fix * description * address comments and fix * fix * replace unique with replace * test pylint * Update negative_sampler.py
36 lines
552 B
ReStructuredText
36 lines
552 B
ReStructuredText
.. _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_neighbors_biased
|
|
select_topk
|
|
PinSAGESampler
|
|
|
|
Negative sampling
|
|
-----------------
|
|
|
|
.. autosummary::
|
|
:toctree: ../../generated/
|
|
|
|
global_uniform_negative_sampling
|