code: def test_symbolic_shape(self):
      random = RandomStreams(utt.fetch_seed())
      shape = tensor.lvector()
      f = function([shape], random.uniform(size=shape, ndim=2))
  
      assert f([2, 3]).shape == (2, 3)
      assert f([4, 8]).shape == (4, 8)
      self.assertRaises(ValueError, f, [4])
      self.assertRaises(ValueError, f, [4, 3, 4, 5])
  
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 17 for calling the T_SharedRandomStreams obj's underlying member method code with example usage: obj.test_symbolic_shape() without return types