code: def _setup(self, dtype, xdim=1):
      self.dtype = numpy.dtype(dtype)
      self.tol = self._tol[self.dtype.char.lower()]
      self.a = testing.shaped_random(
          self.shape, cupy, dtype=dtype, order=self.ordera, scale=1.0
      )
      if self.side == "L":
          xlen = self.shape[0]
      elif self.side == "R":
          xlen = self.shape[1]
      if xdim == 0:
          self.x = cupy.array(1.1, dtype=dtype)
      elif xdim == 1:
          self.x = testing.shaped_random(
              (xlen,), cupy, dtype=dtype, scale=1.0
          )
      elif xdim == 2:
          self.x = testing.shaped_random(
              (xlen, xlen), cupy, dtype=dtype, scale=1.0
          )
  
imports: import numpy
  import pytest
  import cupy
  from cupy import cublas
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestDgmm obj's underlying member method code with example usage: obj._setup(dtype, xdim) without return types