Hey Leon,
This is a weird problem… I think it has to do with theano… There is an arctan2 function in theano basic.py but it is somehow not recognized sometimes. I don’t fully understand…
I think you can try to declare theano variable type for your functions. One of my examples is this:
I tell explicitly say that my input variable start should be treated as a vector, input euler_1 should be a vector, input rate_1 should be a scaler… etc and output value that is being returned should be a vector.
@as_op(itypes=[T.dvector, T.dvector, T.dscalar, T.dscalar, T.dscalar], otypes=[T.dvector])
def pole_position_1e( start, euler_1, rate_1, start_age, age ):
I’m happy to discuss more if you want to show your code.