MCPcopy Index your code
hub / github.com/dmlc/dgl / _PrefetchedGraphFeatures

Class _PrefetchedGraphFeatures

python/dgl/dataloading/dataloader.py:418–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416# This class exists to avoid recursion into the feature dictionary returned by the
417# prefetcher when calling recursive_apply().
418class _PrefetchedGraphFeatures(object):
419 __slots__ = ["node_feats", "edge_feats"]
420
421 def __init__(self, node_feats, edge_feats):
422 self.node_feats = node_feats
423 self.edge_feats = edge_feats
424
425
426def _prefetch_for_subgraph(subg, dataloader):

Callers 3

_prefetch_for_subgraphFunction · 0.85
_await_or_returnFunction · 0.85
_record_streamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected