code: def get_mobilenet(keras_mod):
      if hasattr(keras_mod.applications, "MobileNet"):
          # Keras 2.4.x and older
          mobilenet_mod = keras_mod.applications.MobileNet
      else:
          # Keras 2.6.x and newer
          mobilenet_mod = keras_mod.applications.mobilenet.MobileNet
  
      return mobilenet_mod
  
imports: from packaging import version
  import numpy
  from tensorflow import keras
  import keras
  import pytest
  import tvm
  from tvm import relay
  from tvm.contrib import graph_executor
  import tvm.testing
label_desc: Use image node_id 3 for calling a global function with example usage: get_mobilenet(keras_mod) and returns: mobilenet_mod