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

Method pause

tensorpack/input_source/input_source.py:182–183  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

180 self._itr = self.dataflow.__iter__()
181
182 def pause(self):
183 self._running.clear()
184
185 def resume(self):
186 self._running.set()

Callers 1

refill_queueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected