code: def get_serialized_output(
      mod, *data, params=None, target="llvm", device=tvm.cpu()
  ):
      exe = create_exec(mod, target, params=params)
      code, lib = exe.save()
      des_exec = _vm.Executable.load_exec(code, lib)
      des_vm = _vm.VirtualMachine(des_exec, device)
      result = des_vm.run(*data)
      return result
  
imports: import pytest
  import numpy
  import tvm
  from tvm.runtime import vm
  from tvm.relay import vm
  from tvm import relay
  from tvm.relay.scope_builder import ScopeBuilder
  from tvm.relay import transform
  from tvm.relay.prelude import Prelude
  from tvm.contrib import utils
  from tvm.relay import testing
label_desc: Use image node_id 2 for calling a global function with example usage: get_serialized_output(mod) and returns: result