code: def set_func_attr(func, compile_name, symbol_name):
      func = func.with_attr("Primitive", tvm.tir.IntImm("int32", 1))
      func = func.with_attr("Inline", tvm.tir.IntImm("int32", 1))
      func = func.with_attr("Compiler", compile_name)
      func = func.with_attr("global_symbol", symbol_name)
      return func
  
imports: import os
  import sys
  import numpy
  import tvm
  import tvm.relay.op
  import tvm.relay.testing
  from tvm import relay, runtime
  from tvm.contrib import utils
  from tvm.relay import transform
  from tvm.relay.backend import te_compiler
  from tvm.relay.build_module import bind_params_by_name
  from tvm.relay.op.contrib.register import get_pattern_table
label_desc: Use image node_id 1 for calling a global function with example usage: set_func_attr(func, compile_name, symbol_name) and returns: func