code: def test_dgmm(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)
      c = cublas.dgmm(self.side, self.a, self.x)
      cupy.testing.assert_allclose(c, 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 2 for calling the TestDgmm obj's underlying member method code with example usage: obj.test_dgmm(dtype) without return types