code: def test_mixed_shape_bcastable(self):
      # Test when the provided shape is a tuple of ints and scalar vars
      random = RandomStreams(utt.fetch_seed())
      shape0 = tensor.lscalar()
      shape = (shape0, 1)
      u = random.uniform(size=shape, ndim=2)
      assert u.broadcastable == (False, True)
      f = function([shape0], u)
      assert f(2).shape == (2, 1)
      assert f(8).shape == (8, 1)
  
      v = random.uniform(size=shape)
      assert v.broadcastable == (False, True)
      g = function([shape0], v)
      assert g(2).shape == (2, 1)
      assert g(8).shape == (8, 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 19 for calling the T_SharedRandomStreams obj's underlying member method code with example usage: obj.test_mixed_shape_bcastable() without return types