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

Function _setup

tensorpack/input_source/input_source_base.py:285–288  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

283 self._names = tuple(names)
284
285 def _setup(self, inputs):
286 self._all_placehdrs = [build_or_reuse_placeholder(v) for v in inputs]
287 inputs_subset = get_sublist_by_names(inputs, self._names)
288 self._input.setup(inputs_subset)
289
290 def _get_input_tensors(self):
291 ret = self._input.get_input_tensors()

Callers

nothing calls this directly

Calls 3

get_sublist_by_namesFunction · 0.85
setupMethod · 0.80

Tested by

no test coverage detected