Just produce placeholders as input tensors.
| 51 | |
| 52 | |
| 53 | class 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 | |
| 67 | class FeedInput(InputSource): |
no outgoing calls
no test coverage detected