Ray
Sets the state of all optimizers currently registered in this Learner.
state – The state of the optimizers.