code: def test_graph(self):
      x1 = Input(shape=(8,))
      x2 = Input(shape=(6,))
      y1 = Dense(10)(x1)
      y2 = Dense(10)(x2)
      model = Model([x1, x2], [y1, y2])
      tmp_log_dir = create_tmp_path()
      model.save_graph_topology(tmp_log_dir)
      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:])
      shutil.rmtree(tmp_log_dir)
  
imports: import pytest
  import shutil
  from zoo.feature.common import ChainedPreprocessing
  from zoo.feature.image import *
  from zoo.pipeline.api.keras.layers import *
  from zoo.pipeline.api.keras.models import *
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
label_desc: Use image node_id 2 for calling the TestSimpleIntegration obj's underlying member method code with example usage: obj.test_graph() without return types