Explicit import of ifelse in Theano backend
from collections import defaultdict
from contextlib import contextmanager
import theano
+from theano import ifelse
from theano import tensor as T
from theano.sandbox.rng_mrg import MRG_RandomStreams as RandomStreams
from theano.tensor.signal import pool
