code: def test_merge_method_sum(self):
      bx1 = BLayer.Input(shape=(8,))
      bx2 = BLayer.Input(shape=(6,))
      by1 = BLayer.Dense(10)(bx1)
      by2 = BLayer.Dense(10)(bx2)
      bz = BLayer.merge([by1, by2], mode="sum")
      bmodel = BModel([bx1, bx2], bz, name="graph1")
  
      kx1 = KLayer.Input(shape=(8,))
      kx2 = KLayer.Input(shape=(6,))
      ky1 = KLayer.Dense(10)(kx1)
      ky2 = KLayer.Dense(10)(kx2)
      kz = kmerge([ky1, ky2], mode="sum")
      kmodel = KModel([kx1, kx2], kz)
  
      input_data = [np.random.random([2, 8]), np.random.random([2, 6])]
      self.compare_newapi(
          kmodel, bmodel, input_data, self.convert_two_dense_model
      )
  
imports: import pytest
  from test.bigdl.test_utils import BigDLTestCase
  import bigdl.dllib.nn.keras.layers.layer
  import keras.layers
  import keras.backend
  from bigdl.dllib.keras.converter import WeightsConverter
  from bigdl.dllib.feature.dataset.dataset import *
  from bigdl.dllib.nn.keras.layers.topology import Model
  from bigdl.dllib.nn.keras.layers.topology import Sequential
  from keras.engine import merge, Model
  from keras.models import Sequential
label_desc: Use image node_id 15 for calling the TestKerasAPI obj's underlying member method code with example usage: obj.test_merge_method_sum() without return types