NodeDataLoader

class dgl.dataloading.NodeDataLoader(graph, indices, graph_sampler, device=None, use_ddp=False, ddp_seed=0, batch_size=1, drop_last=False, shuffle=False, use_prefetch_thread=None, use_alternate_streams=None, pin_prefetcher=None, use_uva=False, **kwargs)[source]

Bases: dgl.dataloading.dataloader.DataLoader

(DEPRECATED) Sampled graph data loader over a set of nodes.

Deprecated since version 0.8: The class is deprecated since v0.8, replaced by DataLoader.