code: def assign_by_req(a, req, otype=None):
      b = tvm.te.placeholder(
          a.shape, name="assign_by_req_b", dtype=a.dtype
      )
      if req == "kAddTo":
          c = tvm.te.compute(
              a.shape,
              lambda *idx: a[idx].astype(otype) + b[idx]
              if otype
              else a[idx] + b[idx],
          )
      else:
          c = tvm.te.compute(
              a.shape,
              lambda *idx: a[idx].astype(otype) if otype else a[idx],
          )
      return b, c
  
label_desc: Use image node_id 1 for calling a global function with example usage: assign_by_req(a, req, otype) and returns: b,  c