ray.tune.Trainable.reset_config#

Trainable.reset_config(new_config: Dict)[source]#

Resets configuration without restarting the trial.

This method is optional, but can be implemented to speed up algorithms such as PBT, and to allow performance optimizations such as running experiments with reuse_actors=True.

Parameters:

new_config – Updated hyperparameter configuration for the trainable.

Returns:

True if reset was successful else False.