code: def test_nested_tuples(interface_api, use_unpacked_api, test_runner):
      """Tests compilation of functions with nested tuple outputs"""
      input_x = relay.var("x", shape=(10,))
      output_1 = input_x + relay.const(1.0)
      output_2 = output_1 + relay.const(1.0)
      output_3 = output_2 + relay.const(1.0)
      output_4 = output_3 + relay.const(1.0)
      full_output = relay.Tuple(
          [
              output_1,
              relay.Tuple(
                  [relay.Tuple([output_2, output_3]), output_4]
              ),
          ]
      )
      func = relay.Function([input_x], full_output)
  
      x_data = np.random.uniform(size=(10,)).astype(np.float32)
      inputs = {"x": x_data}
      output_list = generate_ref_data(func, inputs)
  
      compile_and_run(
          AOTTestModel(
              module=IRModule.from_expr(func),
              inputs=inputs,
              outputs=output_list,
          ),
          test_runner,
          interface_api,
          use_unpacked_api,
      )
  
imports: import os
  import pathlib
  import re
  import tarfile
  from collections import OrderedDict
  import numpy
  import pytest
  import tvm
  from tvm import TVMError, relay
  from tvm.contrib import utils
  from tvm.ir.instrument import pass_instrument
  from tvm.ir.module import IRModule
  from tvm.micro import export_model_library_format
  from tvm.micro import model_library_format
  from tvm.micro.testing.aot_test_utils import AOT_DEFAULT_RUNNER, parametrize_aot_options
  from tvm.micro.testing.utils import get_conv2d_relay_module
  from tvm.relay import testing, transform
  from tvm.relay.backend import Executor, Runtime
  from tvm.relay.op.annotation import compiler_begin, compiler_end
  from tvm.relay.testing import byoc
  from tvm.testing.aot import AOTTestModel, compile_and_run, compile_models, create_relay_module_and_inputs_from_tflite_file, generate_ref_data
label_desc: Use image node_id 8 for calling a global function with example usage: test_nested_tuples(interface_api, use_unpacked_api, test_runner) without return types