from_state#
- static Algorithm.from_state(state: Dict) Algorithm[source]#
Recovers an Algorithm from a state object.
The
stateof an instantiated Algorithm can be retrieved by calling itsget_statemethod. It contains all information necessary to create the Algorithm from scratch. No access to the original code (e.g. configs, knowledge of the Algorithm’s class, etc..) is needed.