code: def graph():
      node0 = {"op": "null", "name": "x", "inputs": []}
      node1 = {
          "op": "tvm_op",
          "name": "add",
          "inputs": [[0, 0, 0]],
          "attrs": {
              "func_name": "myadd",
              "flatten_data": "1",
              "num_inputs": "1",
              "num_outputs": "1",
          },
      }
      nodes = [node0, node1]
      arg_nodes = [0]
      node_row_ptr = [0, 1, 2]
      outputs = [[1, 0, 0]]
      shape = (4,)
      attrs = {
          "shape": ["list_shape", [shape, shape]],
          "dltype": ["list_str", ["float32", "float32"]],
          "storage_id": ["list_int", [0, 1]],
      }
      graph = {
          "nodes": nodes,
          "arg_nodes": arg_nodes,
          "node_row_ptr": node_row_ptr,
          "heads": outputs,
          "attrs": attrs,
      }
      graph = json.dumps(graph)
      return graph
  
imports: import json
  import os
  import re
  import sys
  import time
  from distutils.log import debug
  import numpy
  import pytest
  import tvm
  import tvm.testing
  from tvm import rpc, te
  from tvm._ffi.base import TVMError
  from tvm.contrib import utils
  from tvm.contrib.debugger import debug_executor
  from tvm import relay
label_desc: Use image node_id 7 for calling a global function with example usage: graph() and returns: graph