class_docstr: Base class for a Wrapper around an algorithm.
docstr: Reset the state of the algorithm based on the given state_dict
  
  :param state_dict: Dictionary representing state of an algorithm
  
  AlgoWrappers should overwrite this and restore any additional state they own.
docstr_tok: ["Reset","the","state","of","the","algorithm","based","on","the","given","state_dict",":","param","state_dict",":","Dictionary","representing","state","of","an","algorithm","AlgoWrappers","should","overwrite","this","and","restore","any","additional","state","they","own","."]
code: def set_state(self, state_dict: dict) -> None:
      """Reset the state of the algorithm based on the given state_dict
  
      :param state_dict: Dictionary representing state of an algorithm
  
      AlgoWrappers should overwrite this and restore any additional state they own.
      """
      super().set_state(state_dict)
      self.algorithm.set_state(copy.deepcopy(state_dict["algorithm"]))
  
imports: from __future__ import annotations
  import copy
  from logging import getLogger
  from typing import TYPE_CHECKING, Generic, Sequence, TypeVar
  from orion.algo.base import BaseAlgorithm
  from orion.algo.space import Space
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 12 for calling the AlgoWrapper obj's underlying member method code with example usage: obj.set_state(state_dict) without return types