code: def test_tensor_reduce():
      m = te.size_var("m")
      n = te.size_var("n")
      l = te.size_var("l")
      A = te.placeholder((m, l), name="A")
      B = te.placeholder((n, l), name="B")
      T = te.compute((m, n, l), lambda i, j, k: A[i, k] * B[j, k])
      rv = te.reduce_axis((0, A.shape[1]), "k")
      C = te.compute(
          (m, n), lambda i, j: te.sum(T(i, j, rv + 1), axis=rv)
      )
      # json load save
      C_json = tvm.ir.save_json(C)
      C_loaded = tvm.ir.load_json(C_json)
      assert isinstance(C_loaded, te.tensor.Tensor)
      assert str(C_loaded) == str(C)
  
imports: import numpy
  import tvm
  import tvm.testing
  from tvm import te
  from tvm.topi.nn.pooling import pool2d
label_desc: Use image node_id 8 for calling a global function with example usage: test_tensor_reduce() without return types