class_docstr: Adapter for the HEBO algorithm from https://github.com/huawei-noah/HEBO
  
  Parameters
  ----------
  :param space: Optimisation space with priors for each dimension.
  :param seed: Base seed for the random number generators. Defaults to `None`, in which case the
  randomness is not seeded.
  :param parameters: Parameters for the HEBO algorithm.
docstr: Reset the state of the algorithm based on the given state_dict
  
  :param state_dict: Dictionary representing state of an algorithm
docstr_tok: ["Reset","the","state","of","the","algorithm","based","on","the","given","state_dict",":","param","state_dict",":","Dictionary","representing","state","of","an","algorithm"]
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
      """
      super().set_state(state_dict)
      self.random_state = state_dict["random_state"]
      self.parameters = state_dict["parameters"]
      model_state = state_dict["model"]
      # NOTE: For now assuming that we can just store anything into the state dict
      for key, value in model_state.items():
          if not hasattr(self.model, key):
              raise RuntimeError(
                  f"The state dict has attribute {key} that is not in the model!"
              )
          setattr(self.model, key, value)
  
imports: from __future__ import annotations
  import copy
  import typing
  import warnings
  from dataclasses import dataclass
  from logging import getLogger
  from typing import Any, ClassVar, Literal
  import numpy
  import pandas
  from typing_extensions import TypedDict
  from orion.algo.base import BaseAlgorithm
  from orion.algo.space import Dimension, Fidelity, Space
  from orion.core.utils.format_trials import dict_to_trial
  from orion.core.utils.module_import import ImportOptional
  from orion.core.utils.random_state import RandomState, control_randomness
  from orion.core.worker.transformer import TransformedDimension
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 4 for calling the HEBO obj's underlying member method code with example usage: obj.set_state(state_dict) without return types