code: def testCPUGPUMatch(self):
      for dt in get_float_types() + [dtypes.int32, dtypes.int64]:
          maxv = 1.0 if dt.is_floating else 17
          results = {}
          for use_gpu in False, True:
              sampler = self._Sampler(
                  1000000,
                  minv=0,
                  maxv=maxv,
                  dtype=dt,
                  use_gpu=use_gpu,
                  seed=12345,
              )
              results[use_gpu] = sampler()
          self.assertAllEqual(results[False], results[True])
  
imports: import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import random_seed
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_random_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the RandomUniformTest obj's underlying member method code with example usage: obj.testCPUGPUMatch() without return types