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

Class PlaceholderInput

tensorpack/input_source/input_source.py:53–64  ·  view source on GitHub ↗

Just produce placeholders as input tensors.

Source from the content-addressed store, hash-verified

51
52
53class PlaceholderInput(InputSource):
54 """
55 Just produce placeholders as input tensors.
56 """
57 def __init__(self):
58 pass
59
60 def _setup(self, inputs):
61 self._all_placehdrs = [build_or_reuse_placeholder(v) for v in inputs]
62
63 def _get_input_tensors(self):
64 return self._all_placehdrs
65
66
67class FeedInput(InputSource):

Callers 6

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
export_compactMethod · 0.85
export_servingMethod · 0.85
get_predictorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected