class_docstr: Creates TFLite Model and facilitates reference data generation
class_docstr_tok: ["Creates","TFLite","Model","and","facilitates","reference","data","generation"]
docstr: Converts TFLite serialized graph into Relay
docstr_tok: ["Converts","TFLite","serialized","graph","into","Relay"]
code: def convert_to_relay(self):
      """Converts TFLite serialized graph into Relay"""
      assert self.serial_model is not None, "TFLite model is empty!"
  
      tflite_model = tflite.Model.Model.GetRootAsModel(
          self.serial_model, 0
      )
      relay_module, relay_params = tvm.relay.frontend.from_tflite(
          tflite_model, self.shape_dict, self.dtype_dict
      )
      return relay_module, relay_params
  
file_path: tvm/python/tvm/relay/testing/tflite.py
imports: from distutils.version import LooseVersion
  import numpy
  import pytest
  import tflite.Model
  import tensorflow
  import tvm
label_desc: Use image node_id 5 for calling the TFLiteModel obj's underlying member method code with example usage: obj.convert_to_relay() and returns: relay_module,  relay_params