class_docstr: Hyperband formulates hyperparameter optimization as a pure-exploration non-stochastic
  infinite-armed bandit problem where a predefined resource like iterations, data samples,
  or features is allocated to randomly sampled configurations.`
  
  For more information on the algorithm,
  see original paper at http://jmlr.org/papers/v18/16-558.html.
  
  Li, Lisha et al. "Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimization"
  Journal of Machine Learning Research, 18:1-52, 2018.
  
  Parameters
  ----------
  space: `orion.algo.space.Space`
      Optimisation space with priors for each dimension.
  seed: None, int or sequence of int
      Seed for the random number generator used to sample new trials.
      Default: ``None``
  repetitions: int
      Number of executions for Hyperband. A single execution of Hyperband takes a finite budget of
      ``(log(R)/log(eta) + 1) * (log(R)/log(eta) + 1) * R``, and ``repetitions`` allows you to run
      multiple executions of Hyperband. Default is ``numpy.inf`` which means to run Hyperband
      until no new trials can be suggested.
docstr: Return a state dict that can be used to reset the state of the algorithm.
docstr_tok: ["Return","a","state","dict","that","can","be","used","to","reset","the","state","of","the","algorithm","."]
code: def state_dict(self) -> dict:
      """Return a state dict that can be used to reset the state of the algorithm."""
      state_dict: dict[str, Any] = super().state_dict
      state_dict.update(
          {
              "rng_state": self.rng.get_state(),
              "seed": self.seed,
              "budgets": copy.deepcopy(self.budgets),
              "trial_to_brackets": copy.deepcopy(
                  dict(self.trial_to_brackets)
              ),
              "brackets": [
                  bracket.state_dict for bracket in self.brackets
              ],
          }
      )
      return state_dict
  
imports: from __future__ import annotations
  import copy
  import logging
  from collections import OrderedDict
  from typing import Any, Generic, NamedTuple, Sequence, TypeVar
  import numpy
  from tabulate import tabulate
  from orion.algo.base import BaseAlgorithm
  from orion.algo.space import Fidelity, Space
  from orion.core.utils.flatten import flatten
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 6 for calling the Hyperband obj's underlying member method code with example usage: obj.state_dict() and returns: state_dict