PyMC3 elementwise if condition

What is the error message you are getting?