code: def test_if():
      cond = relay.const(True)
      x = relay.If(cond, relay.const(2), relay.const(3))
      anf = run_opt_pass(
          x, [transform.ToANormalForm(), transform.InferType()]
      )
      a = relay.Var("a", relay.IncompleteType())
      b = relay.Var("b", relay.IncompleteType())
      c = relay.Var("c", relay.IncompleteType())
      d = relay.Var("d", relay.IncompleteType())
      true_branch = relay.Let(a, relay.const(2), a)
      false_branch = relay.Let(b, relay.const(3), b)
      expected_output = relay.If(c, true_branch, false_branch)
      expected_output = relay.Let(d, expected_output, d)
      expected_output = relay.Let(c, cond, expected_output)
      expected_output = run_opt_pass(
          expected_output, transform.InferType()
      )
      assert tvm.ir.structural_equal(anf, expected_output)
  
imports: import pytest
  import sys
  import numpy
  import tvm
  import tvm.testing
  from tvm import te
  from tvm import relay
  from tvm.relay.analysis import detect_feature
  from tvm.relay import op, create_executor, transform
  from tvm.relay.prelude import Prelude
  from tvm.relay.testing import count
  from tvm.relay.analysis import Feature
label_desc: Use image node_id 5 for calling a global function with example usage: test_if() without return types