code: def format_params(
      **params: Any,
  ) -> Dict[ParamName, Union[ParamArg, ParamVal]]:
      """Converts params to a dictionary whose keys are parameter names and
      whose values are single ``ParamaterArg`` objects or lists of parameter values.
      """
      return {
          param_name: format_param_args(param_name, param)
          for param_name, param in params.items()
      }
  
file_path: pennylane/pennylane/data/data_manager/params.py
imports: import enum
  import typing
  from functools import lru_cache
  from typing import Any, Dict, FrozenSet, Iterable, List, Tuple, Union
label_desc: Use image node_id 2 for calling a global function with example usage: format_params() and returns: unknown