code: def test_dup_type():
      a = relay.TypeVar("a")
      av = relay.Var("av", a)
      make_id = relay.Function([av], relay.Tuple([av, av]), None, [a])
      t = relay.scalar_type("float32")
      b = relay.Var("b", t)
      mod = tvm.IRModule.from_expr(make_id(b))
      mod = transform.InferType()(mod)
      inferred = mod["main"].body
      assert inferred.checked_type == relay.TupleType([t, t])
  
imports: import tvm
  from tvm import te
  from tvm import relay
  from tvm.relay import transform
label_desc: Use image node_id 1 for calling a global function with example usage: test_dup_type() without return types