MCPcopy 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_funcsFunction · 0.70

Calls 3

formatMethod · 0.80
getMethod · 0.45
feedMethod · 0.45

Tested by

no test coverage detected