Deploy graph parameters towards target device. Raises: ValueError: [when target device is unacceptable]
(self)
| 348 | self._delegates.pop(config) |
| 349 | |
| 350 | def deploy(self): |
| 351 | """Deploy graph parameters towards target device. |
| 352 | |
| 353 | Raises: |
| 354 | ValueError: [when target device is unacceptable] |
| 355 | """ |
| 356 | self._deployed = True |
| 357 | self._runnable_graph(GraphDeployCommand(device=self._device)) |
| 358 | |
| 359 | def to(self, device: str): |
| 360 | # just keep TorchExecutor behaving like torch.nn.Module |
no test coverage detected