code: def test_tensor_array_read():
      def run(dtype):
          mod = tvm.IRModule()
          p = Prelude(mod)
          l = relay.var("l")
          i = relay.var("i")
          read_func = p.get_global_var("tensor_array_read", dtype)
          tensor_array = p.get_global_var("tensor_array", dtype)
          mod["main"] = relay.Function(
              [l, i], read_func(tensor_array(l), i)
          )
          expected = [0]
          check_tensor_array(mod, expected, *(1, 0), dtype=dtype)
          check_tensor_array(mod, expected, *(5, 1), dtype=dtype)
  
      run("float32")
      run("int32")
  
imports: import pytest
  import tvm
  from tvm import relay
  from tvm.relay import testing
  from tvm.relay.backend.interpreter import ConstructorValue
  from tvm.relay import create_executor
  from tvm.relay.prelude import Prelude, StaticTensorArrayOps
  from tvm.relay.testing import count, make_nat_value, make_nat_expr
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: test_tensor_array_read() without return types