code: def test_get_valid_counts_script_func():
      device = "llvm"
      # check lowering
      print(get_valid_counts.script())
      mod = tvm.ir.IRModule({"get_valid_counts": get_valid_counts})
      print(mod.script())
      # check building
      f = tvm.build(mod["get_valid_counts"], target=device)
      _check_get_valid_counts_with_numpy(f, (1, 2500, 6), 0.0, 0, 1)
  
file_path: tvm/tests/python/tvmscript/test_tvmscript_ops.py
imports: import numpy
  import tvm
  import tvm.testing
  from tvm.script import tir
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_valid_counts_script_func() without return types