code: def test_dict_to_model():
      model = Sequential()
      model.build((1,))
  
      dict_model = serialization.model_to_dict(model)
  
      recovered = serialization.dict_to_model(dict_model)
      assert recovered.to_json() == model.to_json()
  
imports: import pytest
  from tensorflow.keras.models import Sequential
  from elephas.utils import serialization
label_desc: Use image node_id 2 for calling a global function with example usage: test_dict_to_model() without return types