Remap the inputs of the subgraph in-place.
(self, new_input_indices)
| 294 | return res |
| 295 | |
| 296 | def _remap_inputs(self, new_input_indices): |
| 297 | """Remap the inputs of the subgraph in-place.""" |
| 298 | new_input_indices = _finalize_indices(new_input_indices, self._input_ts) |
| 299 | _check_within_range( |
| 300 | new_input_indices, len(self._input_ts), repetition=False) |
| 301 | self._input_ts = [self._input_ts[i] for i in new_input_indices] |
| 302 | |
| 303 | def _remap_outputs(self, new_output_indices): |
| 304 | """Remap the outputs of the subgraph in-place.""" |
no test coverage detected