code: def register_parameter_config(name: str) -> Callable:
      """Register a parameter config class by name.
  
      Args:
          name: the name to register the parameter class under, does not need to correspond to the value of `space`
  
      Returns:
          Wrapper function to decorate a `BaseParameterConfig` subclass
      """
  
      def wrap(
          cls: Type["BaseParameterConfig"],
      ) -> Type["BaseParameterConfig"]:  # noqa: F821
          """Add a parameter config class to the registry.
  
          Args:
              cls: a subclass of `BaseParameterConfig`
  
          Returns:
              `cls` unaltered
          """
          parameter_config_registry[name] = cls
          return cls
  
      return wrap
  
file_path: ludwig/ludwig/schema/hyperopt/utils.py
imports: from typing import Callable, List, Optional, Tuple, Type
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.utils.registry import Registry
label_desc: Use image node_id 7 for calling a global function with example usage: register_parameter_config(name) and returns: wrap, cls