code: def test_load_keras(self):
      model = KSequential()
      model.add(KLayer.Dense(32, activation="relu", input_dim=100))
  
      tmp_path_json = create_tmp_path() + ".json"
      model_json = model.to_json()
      with open(tmp_path_json, "w") as json_file:
          json_file.write(model_json)
      zmodel = Net.load_keras(json_path=tmp_path_json)
      assert isinstance(zmodel, Sequential)
  
      tmp_path_hdf5 = create_tmp_path() + ".h5"
      model.save(tmp_path_hdf5)
      zmodel2 = Net.load_keras(hdf5_path=tmp_path_hdf5)
      assert isinstance(zmodel2, Sequential)
  
imports: import pytest
  import keras.layers
  from keras.models import Sequential
  from test.bigdl.test_zoo_utils import ZooTestCase
  import bigdl.dllib.keras.layers
  from bigdl.dllib.keras.models import Model
  from bigdl.dllib.keras.models import Sequential
  from bigdl.dllib.net import Net
  from bigdl.dllib.nn.layer import Linear, Sigmoid, SoftMax, Model
  from bigdl.dllib.utils.common import *
  from bigdl.dllib.nn.layer import Sequential
label_desc: Use image node_id 7 for calling the TestLayer obj's underlying member method code with example usage: obj.test_load_keras() without return types