Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorpack/tensorpack
/ func
Method
func
examples/A3C-Gym/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
5
_trigger
Method · 0.45
run
Method · 0.45
__iter__
Method · 0.45
run
Method · 0.45
_process
Method · 0.45
Calls
1
stopped
Method · 0.80
Tested by
no test coverage detected