code: def test_prim_func_param_dtype_mismatch():
      x = te.var("x")
      y_0 = te.var("y", dtype="int32")
      y_1 = te.var("z", dtype="float32")
      # counter example of same equality
      func0 = tvm.tir.PrimFunc([x, y_0], tvm.tir.Evaluate(x))
      func1 = tvm.tir.PrimFunc([x, y_1], tvm.tir.Evaluate(x))
      lhs_path, rhs_path = get_sequal_mismatch(func0, func1)
      expected_path = (
          ObjectPath.root().attr("params").array_index(1).attr("dtype")
      )
      assert lhs_path == expected_path
      assert rhs_path == expected_path
  
imports: import tvm
  import numpy
  import pytest
  from tvm import te
  from tvm.runtime import ObjectPath
  from tvm.script import tir, ir
label_desc: Use image node_id 6 for calling a global function with example usage: test_prim_func_param_dtype_mismatch() without return types