code: def test_equality_of_two_equations(self, dtype):
      A = np.array([[1, 2], [3, 4]], dtype=dtype)
      B = np.array([[5, 6], [7, 8]], dtype=dtype)
  
      res1 = khatri_rao(A, B)
      res2 = np.vstack(
          [np.kron(A[:, k], B[:, k]) for k in range(B.shape[1])]
      ).T
  
      testing.assert_array_equal(res1, res2)
  
file_path: cupy/tests/cupyx_tests/scipy_tests/linalg_tests/test_matfuncs.py
imports: import numpy
  from numpy import linalg
  import cupy
  from cupyx.scipy.linalg import khatri_rao
  from cupyx.scipy import linalg
  import pytest
  from cupy import testing
label_desc: Use image node_id 5 for calling the TestKhatriRao obj's underlying member method code with example usage: obj.test_equality_of_two_equations(dtype) without return types