Create an optimizer, usually using the [training.optimizer] config.
(self)
| 1469 | return _replace_numpy_floats(results) |
| 1470 | |
| 1471 | def create_optimizer(self): |
| 1472 | """Create an optimizer, usually using the [training.optimizer] config.""" |
| 1473 | subconfig = {"optimizer": self.config["training"]["optimizer"]} |
| 1474 | return registry.resolve(subconfig)["optimizer"] |
| 1475 | |
| 1476 | @contextmanager |
| 1477 | def use_params(self, params: Optional[dict]): |
no outgoing calls
no test coverage detected