MCPcopy Create free account
hub / github.com/TPCD/DCCL / next

Method next

project_utils/data_utils.py:32–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 self.iter = iter(self.loader)
31
32 def next(self):
33 try:
34 return next(self.iter)
35 except:
36 self.iter = iter(self.loader)
37 return next(self.iter)
38
39
40import os.path as osp

Callers 1

trainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected