code: def test_hyper_space(model):
      for _ in range(2):
          new_params = copy.deepcopy(model.params)
          sample = mz.hyper_spaces.sample(new_params.hyper_space)
          for key, value in sample.items():
              new_params[key] = value
          new_model = new_params["model_class"](params=new_params)
          new_model.build()
          new_model.compile()
  
file_path: MatchZoo/tests/unit_test/models/test_models.py
imports: import pytest
  import copy
  from pathlib import Path
  import shutil
  import matchzoo
  from keras.backend import clear_session
label_desc: Use image node_id 13 for calling a global function with example usage: test_hyper_space(model) without return types