code: def test_lazy_if_on_generics(self):
      x = theano.generic()
      y = theano.generic()
      c = tensor.iscalar("c")
      f = theano.function([c, x, y], ifelse(c, x, y))
  
      vx = ["testX"]
      vy = ["testY"]
      assert f(1, vx, vy) == vx
      assert f(0, vx, vy) == vy
  
imports: from __future__ import absolute_import, print_function, division
  import unittest
  import numpy
  from nose.plugins.skip import SkipTest
  from six.moves import reduce
  import theano
  from theano import tensor
  import theano.ifelse
  from theano.ifelse import IfElse, ifelse
  from theano.tests import unittest_tools
label_desc: Use image node_id 5 for calling the test_ifelse obj's underlying member method code with example usage: obj.test_lazy_if_on_generics() without return types