code: def _create_tflite_model():
      """Functions of creating a tflite model"""
      if not tvm.runtime.enabled("tflite"):
          print("skip because tflite runtime is not enabled...")
          return None
      if not tvm.get_global_func("tvm.tflite_runtime.create", True):
          print("skip because tflite runtime is not enabled...")
          return None
  
      try:
          # pylint: disable=import-outside-toplevel
          import tensorflow as tf
      except ImportError:
          print("skip because tensorflow not installed...")
          return None
  
      root = tf.Module()
      root.const = tf.constant([1.0, 2.0], tf.float32)
      root.f = tf.function(lambda x: root.const * x)
  
      input_signature = tf.TensorSpec(
          shape=[
              2,
          ],
          dtype=tf.float32,
      )
      concrete_func = root.f.get_concrete_function(input_signature)
      converter = tf.lite.TFLiteConverter.from_concrete_functions(
          [concrete_func]
      )
      tflite_model = converter.convert()
      return tflite_model
  
file_path: tvm/tests/python/contrib/test_tflite_runtime.py
imports: import pytest
  import numpy
  import tvm
  from tvm import rpc
  from tvm.contrib import utils, tflite_runtime
label_desc: Use image node_id 1 for calling a global function with example usage: _create_tflite_model() and returns: tflite_model, None, None, None