- static Algorithm.from_state(state: Dict) Algorithm #
Recovers an Algorithm from a state object.
stateof an instantiated Algorithm can be retrieved by calling its
get_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.
state – The state to recover a new Algorithm instance from.
A new Algorithm instance.