code: def test_non_zero():
      @te.hybrid.script
      def blur(a):
          b = output_tensor((30, 30), "float32")
          for i in range(2, 32):
              for j in range(2, 32):
                  s = 0.0
                  for di in range(3):
                      for dj in range(3):
                          s += a[i - di, j - dj]
                  b[i - 2, j - 2] = s / 9.0
          return b
  
      a = te.placeholder((32, 32), "float32", "a")
      func, ins, outs = run_and_check(blur, [a])
      run_and_check(func, ins, outs=outs)
  
      @te.hybrid.script
      def triangle(a, b):
          c = output_tensor((10, 10), dtype="float32")
          for i in range(10):
              for j in range(i, 10):
                  c[i, j] = a[i] * b[j]
          return c
  
      a = te.placeholder((10,), dtype="float32", name="a")
      b = te.placeholder((10,), dtype="float32", name="b")
  
      func, ins, outs = run_and_check(triangle, [a, b])
      run_and_check(func, ins, outs=outs)
  
imports: import tvm, inspect, sys, traceback, numpy, pytest, types, os
  from tvm import te
  from tvm.contrib import utils
  from tvm.te.hybrid import script
  from tvm.te.hybrid.runtime import HYBRID_GLOBALS
  import tvm.testing
label_desc: Use image node_id 9 for calling a global function with example usage: test_non_zero() and returns: b, c