MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / __iter__

Method __iter__

tensorpack/dataflow/common.py:47–50  ·  view source on GitHub ↗

Will run testing at the beginning, then produce data normally.

(self)

Source from the content-addressed store, hash-verified

45 super(TestDataSpeed, self).reset_state()
46
47 def __iter__(self):
48 """ Will run testing at the beginning, then produce data normally. """
49 self.start()
50 yield from self.ds
51
52 def start(self):
53 """

Callers

nothing calls this directly

Calls 1

startMethod · 0.95

Tested by

no test coverage detected