code: def test_mobilenet():
      keras = pytest.importorskip("keras")
      Device.load("test_config.json")
  
      if skip_runtime_test():
          return
  
      device = Device()
  
      def get_model():
          try:
              from keras.applications import MobileNet
          except ImportError:
              pytest.skip("Missing keras module")
  
          mobilenet = MobileNet(
              include_top=True,
              weights="imagenet",
              input_shape=(224, 224, 3),
              classes=1000,
          )
          inputs = {
              mobilenet.input_names[0]: ((1, 224, 224, 3), "float32")
          }
          mod, params = _get_keras_model(mobilenet, inputs)
          return mod, params, inputs
  
      if keras.__version__ < LooseVersion("2.9"):
          # This can be removed after we migrate to TF/Keras >= 2.9
          expected_tvm_ops = 56
          expected_acl_partitions = 31
      else:
          # In Keras >= 2.7, one reshape operator was removed
          # from the MobileNet model, so it impacted this test
          # which now needs to be reduce in by 1
          # The change in Keras is `b6abfaed1326e3c`
          expected_tvm_ops = 55
          expected_acl_partitions = 30
  
      _build_and_run_network(
          *get_model(),
          device=device,
          tvm_ops=expected_tvm_ops,
          acl_partitions=expected_acl_partitions,
          atol=0.002,
          rtol=0.01,
      )
  
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 5 for calling a global function with example usage: test_mobilenet() and returns: mod,  params,  inputs