DistEdgeDataLoader๏
- class dgl.dataloading.DistEdgeDataLoader(g, eids, graph_sampler, device=None, **kwargs)[source]๏
Bases:
DistDataLoaderSampled graph data loader over edges for distributed graph storage.
It wraps an iterable over a set of edges, generating the list of message flow graphs (MFGs) as computation dependency of the said minibatch for edge classification, edge regression, and link prediction, on a distributed graph.
All the arguments have the same meaning as the single-machine counterpart
dgl.dataloading.DataLoaderexcept the first argumentgwhich must be adgl.distributed.DistGraph.- Parameters:
g (DistGraph) โ The distributed graph.
eids โ See
dgl.dataloading.DataLoader.graph_sampler โ See
dgl.dataloading.DataLoader.device โ See
dgl.dataloading.DataLoader.kwargs โ See
dgl.dataloading.DataLoader.
See also