code: def test_overlap_both(self, xp, dtype, shape):
      a = xp.ones(shape, dtype)
      return xp.matmul(a, a, out=a)
  
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 TestMatmulOutOverlap obj's underlying member method code with example usage: obj.test_overlap_both(xp, dtype, shape) and returns: xp