MCPcopy Create free account
hub / github.com/DragonisCV/RAM / __init__

Method __init__

ram/data/utils/prefetch_dataloader.py:55–57  ·  view source on GitHub ↗
(self, num_prefetch_queue, **kwargs)

Source from the content-addressed store, hash-verified

53 """
54
55 def __init__(self, num_prefetch_queue, **kwargs):
56 self.num_prefetch_queue = num_prefetch_queue
57 super(PrefetchDataLoader, self).__init__(**kwargs)
58
59 def __iter__(self):
60 return PrefetchGenerator(super().__iter__(), self.num_prefetch_queue)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected