code: def test_let_sequal():
      tt1 = relay.TensorType((), "float32")
      tt2 = relay.TensorType((), "int8")
      v1 = relay.Var("v1")
      v1_wtype = relay.Var("v1", tt1)
      v2 = relay.Var("v2")
      v3 = relay.Var("v3")
  
      let = relay.Let(v1, relay.const(2), v1)
      mapped = relay.Let(v2, relay.const(2), v2)
      assert consistent_equal(let, mapped)
  
      mismatched_var = relay.Let(v2, relay.const(2), v3)
      assert not consistent_equal(let, mismatched_var)
  
      different_value = relay.Let(v2, relay.const(3), v2)
      assert not consistent_equal(let, different_value)
  
      different_body = relay.Let(v2, relay.const(3), relay.const(12))
      assert not consistent_equal(let, different_body)
  
      # specified types must match
  
      let_with_type = relay.Let(v1_wtype, relay.const(2), v1_wtype)
      same_type = relay.Let(v1_wtype, relay.const(2), v1_wtype)
      assert consistent_equal(let_with_type, same_type)
      assert not consistent_equal(let, let_with_type)
      v2 = relay.Var("v1", tt2)
      different_type = relay.Let(v2, relay.const(2), v2)
      assert not consistent_equal(let_with_type, different_type)
  
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 20 for calling a global function with example usage: test_let_sequal() without return types