(self, data, kwargs)
| 225 | return callback_out |
| 226 | |
| 227 | def _feed_input(self, data, kwargs): |
| 228 | if self._callback is not None: |
| 229 | raise RuntimeError( |
| 230 | f"Cannot use `feed_input` on the external source '{self._name}' with a `source`" |
| 231 | f" argument specified." |
| 232 | ) |
| 233 | |
| 234 | self._feed_inputs.put((data, kwargs)) |
| 235 | |
| 236 | def _fetch(self, epoch_idx): |
| 237 | """Fetches data from callback or provided with feed_input.""" |
no test coverage detected