code: def test_tensor_reduce_multiout_with_cond():
      def fcombine(x, y):
          return x[0] + y[0], x[1] + y[1]
  
      def fidentity(t0, t1):
          return tvm.tir.const(0, t0), tvm.tir.const(1, t1)
  
      mysum = te.comm_reducer(fcombine, fidentity, name="mysum")
  
      m = te.var("m")
      n = te.var("n")
      idx = te.placeholder((m, n), name="idx", dtype="int32")
      val = te.placeholder((m, n), name="val", dtype="int32")
      k = te.reduce_axis((0, n), "k")
      cond = te.floormod(k, 2) == 0
      T0, T1 = te.compute(
          (m,),
          lambda i: mysum((idx[i, k], val[i, k]), axis=k, where=cond),
          name="T",
      )
  
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 9 for calling a global function with example usage: test_tensor_reduce_multiout_with_cond() and returns: unknown,  unknown, tvm,  tvm