code: def test_dgmm_inplace(self, dtype):
      if self.orderc != "F":
          pytest.skip()
      self._setup(dtype)
      if self.side == "L":
          ref = cupy.diag(self.x) @ self.a
      elif self.side == "R":
          ref = self.a @ cupy.diag(self.x)
      cublas.dgmm(self.side, self.a, self.x, out=self.a)
      cupy.testing.assert_allclose(
          self.a, ref, rtol=self.tol, atol=self.tol
      )
  
imports: import numpy
  import pytest
  import cupy
  from cupy import cublas
  from cupy import testing
label_desc: Use image node_id 4 for calling the TestDgmm obj's underlying member method code with example usage: obj.test_dgmm_inplace(dtype) without return types