code: def test_compile_nested_tuples():
      x = relay.var("x", shape=(10,))
      x1 = x + relay.const(1.0)
      x2 = x1 + relay.const(1.0)
      x3 = x2 + relay.const(1.0)
      x4 = x3 + relay.const(1.0)
      out = relay.Tuple([x1, relay.Tuple([relay.Tuple([x2, x3]), x4])])
      func = relay.Function([x], out)
  
      graph, lib, _ = relay.build(tvm.IRModule.from_expr(func), "llvm")
      mod = graph_executor.create(graph, lib, device=tvm.cpu(0))
  
      x_data = np.random.uniform(size=(10,)).astype(np.float32)
      mod.set_input(x=x_data)
      mod.run()
  
      assert mod.get_num_outputs() == 4
  
      ref = x_data + 1
      for i in range(mod.get_num_outputs()):
          out = mod.get_output(i).numpy()
          tvm.testing.assert_allclose(out, ref, rtol=1e-5, atol=1e-5)
          ref = ref + 1
  
imports: import numpy
  import pytest
  from unittest.mock import patch
  import tvm
  import json
  from tvm import relay
  from tvm.contrib import graph_executor
  from tvm.relay.op import add
  import tvm.testing
  from tvm.relay.testing import mlp
  from tvm import rpc
  from tvm.contrib import utils
label_desc: Use image node_id 11 for calling a global function with example usage: test_compile_nested_tuples() without return types