Files
dgl/docs/source/api/python/sampler.rst
Da Zheng 463807c511 [Doc] indexing missing docs. (#625)
* 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.
2019-06-10 18:11:36 -07:00

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__