code: def test_matmul_dispatch(self):
      x1 = testing.shaped_arange((2, 10, 5), cupy)
      x2 = testing.shaped_arange((10, 2, 5), cupy)
      o_np = numpy.matmul(x1, x2, axes=[(0, 1), (0, 1), (0, 1)])
      assert isinstance(o_np, cupy.ndarray)
      o_cp = cupy.matmul(x1, x2, axes=[(0, 1), (0, 1), (0, 1)])
      testing.assert_allclose(o_np, o_cp)
  
imports: import operator
  import unittest
  import numpy
  import pytest
  import cupy
  from cupy._core import _routines_linalg
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestMatmulDispatch obj's underlying member method code with example usage: obj.test_matmul_dispatch() without return types