class_docstr: Mock object for HpBandSter to process.
class_docstr_tok: ["Mock","object","for","HpBandSter","to","process","."]
code: def __init__(self, loss: float, budget: float, config: Dict):
      self.result = {"loss": loss}
      self.kwargs = {"budget": budget, "config": config.copy()}
      self.exception = None
  
imports: import copy
  import logging
  import math
  from ray import cloudpickle
  from typing import Dict, List, Optional, Union
  from ray.tune.result import DEFAULT_METRIC
  from ray.tune.search.sample import Categorical, Domain, Float, Integer, LogUniform, Normal, Quantized, Uniform
  from ray.tune.search import UNRESOLVED_SEARCH_SPACE, UNDEFINED_METRIC_MODE, UNDEFINED_SEARCH_SPACE, Searcher
  from ray.tune.search.variant_generator import parse_spec_vars
  from ray.tune.utils.util import flatten_dict, unflatten_list_dict
label_desc: Use image node_id 1 to create a new _BOHBJobWrapper object  with example: obj = _BOHBJobWrapper(loss, budget, config)