code: def test_cupy_matmul_axes_out(self, xp):
      x1 = testing.shaped_arange(self.shapes_axes[0][0], xp)
      x2 = testing.shaped_arange(self.shapes_axes[0][1], xp)
      out = xp.zeros(self.shapes_axes[0][2])
      xp.matmul(x1, x2, axes=self.shapes_axes[1], out=out)
      return out
  
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 2 for calling the TestMatmulAxes obj's underlying member method code with example usage: obj.test_cupy_matmul_axes_out(xp) and returns: out