code: def test_var_sequal():
      v1 = relay.Var("v1")
      v2 = relay.Var("v2")
  
      # normally only pointer equality
      assert consistent_equal(v1, v1)
      assert not consistent_equal(v1, v2)
  
      # let node allows for setting the eq_map
      l1 = relay.Let(v1, relay.const(1), v1)
      l2 = relay.Let(v2, relay.const(1), v2)
      l3 = relay.Let(v1, relay.const(1), v2)
  
      assert consistent_equal(l1, l2)
      assert not consistent_equal(l1, l3)
  
      # type annotations
      tt1 = relay.TensorType([], "int32")
      tt2 = relay.TensorType([], "int32")
      tt3 = relay.TensorType([], "int64")
      v3 = relay.Var("v3", tt1)
      v4 = relay.Var("v4", tt2)
      v5 = relay.Var("v5", tt3)
  
      l4 = relay.Let(v3, relay.const(1), v3)
      l5 = relay.Let(v4, relay.const(1), v4)
      l6 = relay.Let(v5, relay.const(1), v5)
  
      # same annotations
      assert consistent_equal(l4, l5)
      # different annotations
      assert not consistent_equal(l4, l6)
      # one null annotation
      assert not consistent_equal(l1, l4)
  
imports: import numpy
  import tvm
  import tvm.testing
  from tvm import relay
  from tvm.relay.testing import run_opt_pass
label_desc: Use image node_id 13 for calling a global function with example usage: test_var_sequal() without return types