class_docstr: Buffers with dimensions of extent 1 can be transformed
  
  Regression test for a previous bug, in which the removal of
  trivial variables resulted in an error in `IndexMap::Inverse`.
code: def expected(A: T.Buffer((16, 1), "float32")):
      T.func_attr({"layout_free_buffers": [0]})
  
      A_global = T.alloc_buffer([16], dtype="float32")
      for ax0, ax1 in T.grid(16, 1):
          with T.block("A_global"):
              v0, v1 = T.axis.remap("SS", [ax0, ax1])
              T.block_attr(
                  {"meta_schedule.layout_rewrite_preproc": True}
              )
              A_global[v0] = A[v0, v1]
  
      for i, j in T.grid(16, 1):
          with T.block("block"):
              vi, vj = T.axis.remap("SS", [i, j])
              T.evaluate(A_global[vi])
  
imports: import tvm
  import tvm.testing
  from tvm import meta_schedule
  from tvm.script import tir
  from tvm.target import Target
  from tvm.tir.schedule.testing import assert_structural_equal_ignore_global_symbol
label_desc: Use image node_id 2 for calling the TestExtentOne obj's underlying member method code with example usage: obj.expected(A) without return types