What is purpose of ifelse and switch in theano?
问题 I am not able to understand anything about them, I read it from http://deeplearning.net/software/theano/tutorial/conditions.html. I suppose they function like our ifelse but not able to understand how to use them. Please some guide on this. Thanks 回答1: I would think of it as just another operator that acts on three symbolic variables, if the first is true, return the second, else return the third. But for many operators (like - and + ) theano has overloaded them for symbolic variables, so