code: def _load_fidel_to_opt_parameters(param):
      """Loads fidel_to_opt parameters."""
      if isinstance(param, (list, tuple)):
          ret = []
          for elem in param:
              ret.append(_load_fidel_to_opt_parameters(elem))
      else:
          ret = param  # just return the param
          if isinstance(param, unicode):
              ret = unicode_to_str(ret)
      return ret
  
file_path: dragonfly/dragonfly/parse/config_parser.py
imports: from __future__ import absolute_import
  import sys
  import json
  from collections import OrderedDict
  from numbers import Number
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _load_fidel_to_opt_parameters(param) and returns: ret