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

Method func

examples/DeepQNetwork/common.py:59–62  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

57 self.q = queue
58
59 def func(self, *args, **kwargs):
60 if self.stopped():
61 raise RuntimeError("stopped!")
62 return self._func(*args, **kwargs)
63
64 def run(self):
65 with self.default_sess():

Callers

nothing calls this directly

Calls 1

stoppedMethod · 0.80

Tested by

no test coverage detected