Update swanlab config (backward-compatible helper).
(self, config: Dict[str, Any])
| 152 | self._pending_config.clear() |
| 153 | |
| 154 | def update_config(self, config: Dict[str, Any]) -> None: |
| 155 | """Update swanlab config (backward-compatible helper).""" |
| 156 | run = self._get_active_run() |
| 157 | if run is None: |
| 158 | self._pending_config.update(config) |
| 159 | return |
| 160 | run.config.update(config) |
| 161 | |
| 162 | def _collect_config(self) -> None: |
| 163 | """Collect model and training hyperparameters into config.""" |
nothing calls this directly
no test coverage detected