(model: torch.nn.Module, **kwargs)
| 46 | |
| 47 | @staticmethod |
| 48 | def install_model(model: torch.nn.Module, **kwargs): |
| 49 | for m in model.modules(): |
| 50 | DynamicSwapInstaller._install_module(m, **kwargs) |
| 51 | return |
| 52 | |
| 53 | @staticmethod |
| 54 | def uninstall_model(model: torch.nn.Module): |
no test coverage detected