code: def test_aot_incorrect_input_name(target_kind: str):
      """Test passing incorrect input name."""
      dtype = "float32"
      correct_input_name = "input"
      incorrect_input_name = "input1"
      input1 = relay.var(correct_input_name, shape=(10, 5), dtype=dtype)
      weight = relay.var("weight", shape=(1, 5), dtype=dtype)
      output = relay.add(input1, weight)
      func = relay.Function([input1, weight], output)
  
      input_data = np.random.rand(10, 5).astype(dtype)
      weight_data = np.random.rand(1, 5).astype(dtype)
      params = {"weight": weight_data}
  
      with tvm.transform.PassContext(
          opt_level=3, config={"tir.disable_vectorize": True}
      ):
          mod = tvm.relay.build(
              tvm.IRModule.from_expr(func),
              target=target_kind,
              params=params,
              executor=tvm.relay.backend.Executor(
                  "aot", {"interface-api": "packed"}
              ),
          )
      temp_dir = tvm.contrib.utils.TempDirectory()
      test_so_path = temp_dir / "test.so"
      mod.export_library(
          test_so_path, cc="c++", options=["-std=gnu++17", "-g3", "-O0"]
      )
  
      loaded_mod = tvm.runtime.load_module(test_so_path)
      runner = tvm.runtime.executor.AotModule(
          loaded_mod["default"](tvm.cpu(0))
      )
      inputs = {incorrect_input_name: input_data}
  
      error_regex = r"Invalid input name."
      with pytest.raises(tvm.TVMError, match=error_regex):
          runner.set_input(**inputs)
  
      with pytest.raises(tvm.TVMError, match=error_regex):
          runner.get_input_index(incorrect_input_name)
  
file_path: tvm/tests/python/relay/aot/test_cpp_aot.py
imports: import re
  import textwrap
  import numpy
  import pytest
  import tvm
  from tvm import IRModule
  from tvm import relay
  from tvm.relay import backend, testing
  from tvm.testing.aot import generate_ref_data
label_desc: Use image node_id 8 for calling a global function with example usage: test_aot_incorrect_input_name(target_kind) without return types