ray.tune.Callback.set_state#

Callback.set_state(state: Dict)[source]#

Get the state of the callback.

This method should be implemented by subclasses to restore the callback’s state based on the given dict state.

Parameters

state – State of the callback.