MCPcopy
hub / github.com/dmlc/dgl / _next_non_threaded

Method _next_non_threaded

python/dgl/dataloading/dataloader.py:683–691  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

681 self._shutdown()
682
683 def _next_non_threaded(self):
684 batch = next(self.dataloader_it)
685 batch = recursive_apply(
686 batch, restore_parent_storage_columns, self.dataloader.graph
687 )
688 batch, feats, stream_event = _prefetch(
689 batch, self.dataloader, self.stream
690 )
691 return batch, feats, stream_event
692
693 def _next_threaded(self):
694 try:

Callers 1

__next__Method · 0.95

Calls 2

_prefetchFunction · 0.85
recursive_applyFunction · 0.50

Tested by

no test coverage detected