code: def _get_keras_model(keras_model, inputs_dict):
      """Convert Keras graph to relay."""
      inputs = {}
      for name, (shape, _) in inputs_dict.items():
          inputs[keras_model.input_names[0]] = shape
      return relay.frontend.from_keras(
          keras_model, inputs, layout="NHWC"
      )
  
file_path: tvm/tests/python/contrib/test_arm_compute_lib/test_network.py
imports: from distutils.version import LooseVersion
  import numpy
  import pytest
  from tvm import relay
  from test_arm_compute_lib.infrastructure import Device, skip_runtime_test, build_and_run, verify
label_desc: Use image node_id 3 for calling a global function with example usage: _get_keras_model(keras_model, inputs_dict) and returns: relay