class_docstr: If multiple allocations occur, all are flattened.
class_docstr_tok: ["If","multiple","allocations","occur",",","all","are","flattened","."]
code: def before(
      A: T.Buffer((4, 32), "float32"), D: T.Buffer((4, 32), "float32")
  ):
      for i, j in T.grid(4, 32):
          B = T.decl_buffer((4, 32), "float32", scope="global")
          C = T.decl_buffer((4, 32), "float32", scope="global")
          B[i, j] = A[i, j] + 1.0
          C[i, j] = A[i, j] + B[i, j]
          D[i, j] = C[i, j] * 2.0
  
imports: import tvm
  import tvm.testing
  from tvm import te
  from tvm.script import tir
label_desc: Use image node_id 1 for calling the TestMultiAlloc obj's underlying member method code with example usage: obj.before(A, D) without return types