code: def test_alloc_seq():
      scope_tb = "local.L0A"
      max_bits = 1024 * 1024 * 1024
  
      register_mem(scope_tb, max_bits)
  
      ib = tvm.tir.ir_builder.create()
      n = te.var("n")
      with ib.for_range(0, n, name="i") as i:
          with ib.for_range(0, 10, name="j") as j:
              A = ib.allocate("float32", 200, name="A", scope=scope_tb)
              A[j] = 1.2
          with ib.for_range(0, 10, name="j") as j:
              A = ib.allocate("float32", 200, name="B", scope=scope_tb)
              A[j] = 1.3
  
      body = ib.get()
  
      mod = tvm.IRModule.from_expr(tvm.tir.PrimFunc([n], body))
      body = tvm.tir.transform.StorageRewrite()(mod)["main"].body
  
      num_alloc = [0]
  
      def verify(n):
          if isinstance(n, tvm.tir.Allocate):
              num_alloc[0] += 1
              assert n.extents[0].value == 200
  
      tvm.tir.stmt_functor.post_order_visit(body, verify)
      assert num_alloc[0] == 1
  
imports: import sys
  import pytest
  import tvm
  import tvm.testing
  from tvm import te
  from tvm.driver.build_module import schedule_to_module
  from tvm.script import tir
label_desc: Use image node_id 3 for calling a global function with example usage: test_alloc_seq() without return types