code: def test_dtype(self):
      rng_R = random_state_type()
      low = tensor.lscalar()
      high = tensor.lscalar()
      post_r, out = random_integers(
          rng_R, low=low, high=high, size=(20,), dtype="int8"
      )
      assert out.dtype == "int8"
      f = compile.function([rng_R, low, high], [post_r, out])
  
      rng = np.random.RandomState(utt.fetch_seed())
      rng0, val0 = f(rng, 0, 9)
      assert val0.dtype == "int8"
  
      rng1, val1 = f(rng0, 255, 257)
      assert val1.dtype == "int8"
      assert np.all(abs(val1) <= 1)
  
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import pickle
  from theano.tests import unittest_tools
  from theano.tensor.raw_random import *
  from theano.tensor import raw_random, ivector, dvector, iscalar, dcol, dtensor3
  from theano import tensor
  from theano import compile, config, gof
label_desc: Use image node_id 33 for calling the T_random_function obj's underlying member method code with example usage: obj.test_dtype() without return types