code: def test_graph(self):
      x1 = BLayer.Input(shape=(8,))
      x2 = BLayer.Input(shape=(6,))
      y1 = BLayer.Dense(10)(x1)
      y2 = BLayer.Dense(10)(x2)
      model = BModel([x1, x2], [y1, y2])
      input_shapes = model.get_input_shape()
      output_shapes = model.get_output_shape()
      np.testing.assert_allclose((8,), input_shapes[0][1:])
      np.testing.assert_allclose((6,), input_shapes[1][1:])
      np.testing.assert_allclose((10,), output_shapes[0][1:])
      np.testing.assert_allclose((10,), output_shapes[1][1:])
  
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 11 for calling the TestKerasAPI obj's underlying member method code with example usage: obj.test_graph() without return types