mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-05 19:54:25 +08:00
* add doc of NodeFlow. * add missing API in nodeflow. * add docs and two more API to NodeFlow. * add more docs. * fix. * fix. * fix. * add docs for distributed sampler.
36 lines
658 B
ReStructuredText
36 lines
658 B
ReStructuredText
.. apisampler
|
|
|
|
Graph samplers
|
|
==============
|
|
|
|
.. autofunction:: dgl.contrib.sampling.sampler.NeighborSampler
|
|
.. autofunction:: dgl.contrib.sampling.sampler.LayerSampler
|
|
|
|
Distributed sampler
|
|
------------------------
|
|
|
|
.. currentmodule:: dgl.contrib.sampling.dis_sampler
|
|
.. autoclass:: SamplerPool
|
|
|
|
.. autosummary::
|
|
:toctree: ../../generated/
|
|
|
|
SamplerPool.start
|
|
SamplerPool.worker
|
|
|
|
.. autoclass:: SamplerSender
|
|
|
|
.. autosummary::
|
|
:toctree: ../../generated/
|
|
|
|
SamplerSender.send
|
|
SamplerSender.signal
|
|
|
|
.. autoclass:: SamplerReceiver
|
|
|
|
.. autosummary::
|
|
:toctree: ../../generated/
|
|
|
|
SamplerReceiver.__iter__
|
|
SamplerReceiver.__next__
|