ray.rllib.core.learner.learner.Learner._save_optimizers#

Learner._save_optimizers(path: str | Path) None[source]#

Save the state of the optimizer to path

NOTE: if path doesn’t exist, then a new directory will be created. otherwise, it will be appended to.

Parameters:

path – The path to the directory to save the state to.