code: def test_legacy_compatibility():
      mod, params = relay.testing.synthetic.get_workload()
      with relay.build_config(opt_level=3):
          graph, lib, graph_params = relay.build_module.build(
              mod, "llvm", params=params
          )
      data = np.random.uniform(-1, 1, size=input_shape(mod)).astype(
          "float32"
      )
      dev = tvm.cpu()
      module = graph_executor.create(graph, lib, dev)
      module.set_input("data", data)
      module.set_input(**graph_params)
      module.run()
      out = module.get_output(0).numpy()
      tvm.testing.assert_allclose(out, verify(data), atol=1e-5)
  
imports: import numpy
  import os
  from tvm import relay, runtime
  from tvm.relay import testing
  import tvm
  from tvm.contrib import graph_executor
  from tvm.contrib.debugger import debug_executor
  from tvm.contrib.cuda_graph import cuda_graph_executor
  import tvm.testing
label_desc: Use image node_id 3 for calling a global function with example usage: test_legacy_compatibility() without return types