Args: input_signature (list[tf.TensorSpec]): list of specs for each input tensor Returns: list[Callback]: extra callbacks needed by this InputSource. callbacks of InputSource cannot use any `trigger*()` method.
(self, input_signature)
| 127 | |
| 128 | @call_only_once |
| 129 | def setup(self, input_signature): |
| 130 | """ |
| 131 | Args: |
| 132 | input_signature (list[tf.TensorSpec]): list of specs for each input tensor |
| 133 | |
| 134 | Returns: |
| 135 | list[Callback]: extra callbacks needed by this InputSource. |
| 136 | callbacks of InputSource cannot use any `trigger*()` method. |
| 137 | """ |
| 138 | self._setup(input_signature) |
| 139 | self._setup_done = True |
| 140 | return self.get_callbacks() |
| 141 | |
| 142 | def _setup(self, input_signature): |
| 143 | pass |
no test coverage detected