code: def access_of_padding_pattern() -> None:
      X = T.alloc_buffer([28, 28])
      X_pad = T.alloc_buffer([32, 32])
      Y = T.alloc_buffer([28, 28])
      for i, j in T.grid(32, 32):
          with T.block("padding"):
              vi, vj = T.axis.remap("SS", [i, j])
              T.reads([X[vi - 2, vj - 2]])
              T.writes([X_pad[vi, vj]])
              X_pad[vi, vj] = T.if_then_else(
                  2 <= vi and vi < 30 and 2 <= vj and vj < 30,
                  X[vi - 2, vj - 2],
                  0.0,
                  dtype="float32",
              )
          with T.block("padding_reverse"):
              vi, vj = T.axis.remap("SS", [i, j])
              T.reads([X_pad[vi, vj]])
              T.writes([Y[vi - 2, vj - 2]])
              if 2 <= vi and vi < 30 and 2 <= vj and vj < 30:
                  Y[vi - 2, vj - 2] = X_pad[vi, vj]
  
imports: import pytest
  import tvm
  from tvm import tir
  from tvm.script import tir
  from tvm.ir import Range
label_desc: Use image node_id 10 for calling a global function with example usage: access_of_padding_pattern() without return types