enerzyme.tasks.optimizer.get_optimizer_config#

enerzyme.tasks.optimizer.get_optimizer_config(**params) Tuple[str, Dict[str, Any]][source]#

Get the relevant arguments from the trainer for the optimizer name and hyperparameters, which will be used in the get_optimizer function.

Params:#

**params: dict

The configuration for the Trainer class.

Returns:#

name: str

The name of the optimizer.

hyper_params: dict

The hyperparameters for the optimizer.