code: def _deformat_single_parameter(x, spec):
      if math.isinf(x):
          return x
      spec_dict = spec._asdict()
      spec_dict["key"] = (spec.name,)
      spec = ParameterSpec(**spec_dict)
      params = deformat_parameters({spec.key: x}, {spec.key: spec})
      return params[spec.name]
  
imports: import logging
  import math
  import numpy
  from scipy.special import erfinv
  import nni
  from nni.common.hpo_utils import ParameterSpec, deformat_parameters, format_search_space
  from nni.tuner import Tuner
label_desc: Use image node_id 3 for calling a global function with example usage: _deformat_single_parameter(x, spec) and returns: params, x