code: def test_dtype(self):
      random = RandomStreams(utt.fetch_seed())
      low = tensor.lscalar()
      high = tensor.lscalar()
      out = random.random_integers(
          low=low, high=high, size=(20,), dtype="int8"
      )
      assert out.dtype == "int8"
      f = function([low, high], out)
  
      val0 = f(0, 9)
      assert val0.dtype == "int8"
  
      val1 = f(255, 257)
      assert val1.dtype == "int8"
      assert np.all(abs(val1) <= 1)
  
imports: from __future__ import absolute_import, print_function, division
  import sys
  import unittest
  import numpy
  from theano.tensor import raw_random
  from theano.tensor.shared_randomstreams import RandomStreams
  from theano import function, shared
  from theano import tensor
  from theano import compile, config, gof
  from theano.tests import unittest_tools
label_desc: Use image node_id 28 for calling the T_SharedRandomStreams obj's underlying member method code with example usage: obj.test_dtype() without return types