code: def test_tensor_slice():
      n = te.size_var("n")
      A = te.compute((n, n), lambda i, j: 1)
      B = te.compute((n,), lambda i: A[0][i] + A[0][i])
  
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 4 for calling a global function with example usage: test_tensor_slice() without return types