dmlc--dgl
701b4fccc2
* initial update * more * more * multi-gpu example * cluster gcn, finalize homogeneous * more explanation * fix * bunch of fixes * fix * RGAT example and more fixes * shadow-gnn sampler and some changes in unit test * fix * wth * more fixes * remove shadow+node/edge dataloader tests for possible ux changes * lints * add legacy dataloading import just in case * fix * update pylint for f-strings * fix * lint * lint * lint again * cherry-picking commit fa9f494 * oops * fix * add sample_neighbors in dist_graph * fix * lint * fix * fix * fix * fix tutorial * fix * fix * fix * fix warning * remove debug * add get_foo_storage apis * lint
29 行
881 B
Python
29 行
881 B
Python
"""The ``dgl.dataloading`` package contains:
|
|
|
|
* Data loader classes for iterating over a set of nodes or edges in a graph and generates
|
|
computation dependency via neighborhood sampling methods.
|
|
|
|
* Various sampler classes that perform neighborhood sampling for multi-layer GNNs.
|
|
|
|
* Negative samplers for link prediction.
|
|
|
|
For a holistic explanation on how different components work together.
|
|
Read the user guide :ref:`guide-minibatch`.
|
|
|
|
.. note::
|
|
This package is experimental and the interfaces may be subject
|
|
to changes in future releases. It currently only has implementations in PyTorch.
|
|
"""
|
|
from .neighbor import *
|
|
from .dataloader import *
|
|
from .cluster_gcn import *
|
|
from .shadow import *
|
|
|
|
from . import negative_sampler
|
|
from .async_transferer import AsyncTransferer
|
|
|
|
from .. import backend as F
|
|
|
|
if F.get_preferred_backend() == 'pytorch':
|
|
from .pytorch import *
|