code: def test_get_substream_rstates():
      try:
          orig = theano.config.compute_test_value
          theano.config.compute_test_value = "raise"
          n_streams = 100
  
          dtype = "float32"
          rng = MRG_RandomStreams(np.random.randint(2147462579))
  
          rng.get_substream_rstates(n_streams, dtype)
  
      finally:
          theano.config.compute_test_value = orig
  
imports: from __future__ import absolute_import, print_function, division
  import os
  import sys
  import time
  import unittest
  from nose.tools import assert_raises
  import numpy
  from six.moves import xrange
  import theano
  from theano import change_flags, config, tensor
  from theano.sandbox import rng_mrg
  from theano.sandbox.rng_mrg import MRG_RandomStreams
  from theano.tests import unittest_tools
  from theano.tests.unittest_tools import attr
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_substream_rstates() without return types