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

Method next

ram/data/utils/prefetch_dataloader.py:74–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 self.loader = iter(loader)
73
74 def next(self):
75 try:
76 return next(self.loader)
77 except StopIteration:
78 return None
79
80 def reset(self):
81 self.loader = iter(self.ori_loader)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected