code: def test_unpack_hyperopt_vals():
      test_vals = {
          "filters_conv_A": [0],
          "filters_conv_B": [1],
          "rate": [0.1553971698387464],
          "units": [1],
          "rate_1": [0.4114807190252343],
          "lr": [2.0215692016654265e-05],
          "momentum": [2],
          "nesterov": [0],
      }
      result = {
          "filters_conv_A": 0,
          "filters_conv_B": 1,
          "rate": 0.1553971698387464,
          "units": 1,
          "rate_1": 0.4114807190252343,
          "lr": 2.0215692016654265e-05,
          "momentum": 2,
          "nesterov": 0,
      }
      assert unpack_hyperopt_vals(test_vals) == result
  
file_path: hyperas/tests/test_utils.py
imports: import os
  from hyperopt import hp
  from hyperas.utils import extract_imports, remove_imports, remove_all_comments, temp_string, write_temp_files, with_line_numbers, determine_indent, unpack_hyperopt_vals, eval_hyperopt_space, find_signature_end
label_desc: Use image node_id 9 for calling a global function with example usage: test_unpack_hyperopt_vals() without return types