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

Method reset_state

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

Source from the content-addressed store, hash-verified

844 yield dp
845
846 def reset_state(self):
847 super(PrintData, self).reset_state()
848 self.cnt = 0

Callers

nothing calls this directly

Calls 1

reset_stateMethod · 0.45

Tested by

no test coverage detected