code: def test_tensor_attr():
      k = te.reduce_axis((0, 128), "k")
      A = te.placeholder((128, 128), name="A")
      B = te.placeholder((128, 128), name="B")
      C = te.compute(
          (128, 128),
          lambda x, y: te.sum(A[x, k] * B[y, k], axis=k),
          name="C",
          attrs={"layout_free_placeholders": [B]},
      )
      func = te.create_prim_func([A, B, C])
      rt_func = tvm.script.from_source(func.script())
      tvm.ir.assert_structural_equal(func, rt_func)
  
imports: import numpy
  import tvm
  import tvm.testing
  from tvm import te, tir, topi, relay
  from tvm.script import tir
  import pytest
label_desc: Use image node_id 29 for calling a global function with example usage: test_tensor_attr() without return types