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

Method reset_state

tensorpack/dataflow/common.py:43–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 self._reset_called = False
42
43 def reset_state(self):
44 self._reset_called = True
45 super(TestDataSpeed, self).reset_state()
46
47 def __iter__(self):
48 """ Will run testing at the beginning, then produce data normally. """

Callers

nothing calls this directly

Calls 1

reset_stateMethod · 0.45

Tested by

no test coverage detected