Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ fetch
Function
fetch
examples/DeepQNetwork/common.py:82–86 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
80
stat = StatCounter()
81
82
def
fetch():
83
r = q.get()
84
stat.feed(r)
85
if
verbose:
86
logger.info(
"Score: {}"
.format(r))
87
88
for
_ in get_tqdm(range(nr_eval)):
89
fetch()
Callers
1
eval_with_funcs
Function · 0.70
Calls
3
format
Method · 0.80
get
Method · 0.45
feed
Method · 0.45
Tested by
no test coverage detected