MCPcopy Create free account
hub / github.com/dcharatan/flowmap / __iter__

Method __iter__

flowmap/dataset/data_module_overfit.py:11–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9 self.limit = limit
10
11 def __iter__(self) -> Iterator:
12 if self.limit:
13 for _ in range(self.limit):
14 yield []
15 else:
16 while True:
17 yield []
18
19
20class DataModuleOverfit(LightningDataModule):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected