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

Method stop

tensorpack/utils/concurrency.py:43–45  ·  view source on GitHub ↗

Stop the thread

(self)

Source from the content-addressed store, hash-verified

41 self._stop_evt = evt
42
43 def stop(self):
44 """ Stop the thread"""
45 self._stop_evt.set()
46
47 def stopped(self):
48 """

Callers 10

_after_trainMethod · 0.80
runMethod · 0.80
__del__Method · 0.80
runMethod · 0.80
reset_stateMethod · 0.80
__del__Method · 0.80
gFunction · 0.80
eval_with_funcsFunction · 0.80
eval_with_funcsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected