MCPcopy Create free account
hub / github.com/tensorpack/tensorpack / get_fetches

Method get_fetches

tensorpack/callbacks/inference.py:61–66  ·  view source on GitHub ↗

Return a list of tensor names (guaranteed not op name) this inferencer needs.

(self)

Source from the content-addressed store, hash-verified

59 pass
60
61 def get_fetches(self):
62 """
63 Return a list of tensor names (guaranteed not op name) this inferencer needs.
64 """
65 ret = self._get_fetches()
66 return [get_op_tensor_name(n)[1] for n in ret]
67
68 def _get_fetches(self):
69 """

Callers 3

_build_hookMethod · 0.80
_build_hook_parallelMethod · 0.80
_build_hookMethod · 0.80

Calls 2

_get_fetchesMethod · 0.95
get_op_tensor_nameFunction · 0.85

Tested by

no test coverage detected