ray.tune.Callback.get_state
ray.tune.Callback.get_state#
- Callback.get_state() Optional[Dict] [source]#
Get the state of the callback.
This method should be implemented by subclasses to return a dictionary representation of the object’s current state.
- Returns
- State of the callback. Should be
None
if the callback does not have any state to save (this is the default).
- State of the callback. Should be
- Return type
state