code: def test_make_slice_merge():
      # In the past, this was crahsing during compilation.
      i = theano.tensor.iscalar()
      s1 = make_slice(0, i)
      s2 = make_slice(0, i)
      f = theano.function([i], [s1, s2])
      nodes = f.maker.fgraph.apply_nodes
      assert len([n for n in nodes if isinstance(n.op, MakeSlice)]) == 1
      theano.printing.debugprint(f)
  
imports: from __future__ import absolute_import, print_function, division
  import theano
  from theano.gof import Constant
  from theano.tensor.type_other import MakeSlice, make_slice, NoneTypeT, NoneConst
label_desc: Use image node_id 1 for calling a global function with example usage: test_make_slice_merge() without return types