code: def test_uniform_vector(self):
      random = RandomStreams(utt.fetch_seed())
      low = tensor.dvector()
      high = tensor.dvector()
      out = random.uniform(low=low, high=high)
      assert out.ndim == 1
      f = function([low, high], out)
  
      low_val = [0.1, 0.2, 0.3]
      high_val = [1.1, 2.2, 3.3]
      seed_gen = np.random.RandomState(utt.fetch_seed())
      numpy_rng = np.random.RandomState(int(seed_gen.randint(2**30)))
  
      # Arguments of size (3,)
      val0 = f(low_val, high_val)
      numpy_val0 = numpy_rng.uniform(low=low_val, high=high_val)
      print("THEANO", val0)
      print("NUMPY", numpy_val0)
      assert np.all(val0 == numpy_val0)
  
      # arguments of size (2,)
      val1 = f(low_val[:-1], high_val[:-1])
      numpy_val1 = numpy_rng.uniform(
          low=low_val[:-1], high=high_val[:-1]
      )
      print("THEANO", val1)
      print("NUMPY", numpy_val1)
      assert np.all(val1 == numpy_val1)
  
      # Specifying the size explicitly
      g = function(
          [low, high], random.uniform(low=low, high=high, size=(3,))
      )
      val2 = g(low_val, high_val)
      numpy_rng = np.random.RandomState(int(seed_gen.randint(2**30)))
      numpy_val2 = numpy_rng.uniform(
          low=low_val, high=high_val, size=(3,)
      )
      assert np.all(val2 == numpy_val2)
      self.assertRaises(ValueError, g, low_val[:-1], high_val[:-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 23 for calling the T_SharedRandomStreams obj's underlying member method code with example usage: obj.test_uniform_vector() without return types