code: def build_hpo_from_name(name: str) -> BaseHPOptimizer:
      """
      Parameters
      ----------
      name: ``str``
          the name of hpo module.
  
      Returns
      -------
      BaseHPOptimizer:
          the HPO built using default parameters
  
      Raises
      ------
      AssertionError
          If an invalid name is passed in
      """
      assert name in HPO_DICT, "HPO module do not have name " + name
      return HPO_DICT[name]()
  
file_path: AutoGL/autogl/module/hpo/__init__.py
imports: import importlib
  import os
  from .base import BaseHPOptimizer
  from .auto_module import AutoModule
  from .anneal_advisorhpo import AnnealAdvisorHPO
  from .autone import AutoNE
  from .bayes_advisor import BayesAdvisor
  from .cmaes_advisorchoco import CmaesAdvisorChoco
  from .grid_advisor import GridAdvisor
  from .mocmaes_advisorchoco import MocmaesAdvisorChoco
  from .quasi_advisorchoco import QuasiAdvisorChoco
  from .rand_advisor import RandAdvisor
  from .tpe_advisorhpo import TpeAdvisorHPO
label_desc: Use image node_id 2 for calling a global function with example usage: build_hpo_from_name(name) and returns: HPO_DICT