Hi,
I'm trying to convert expressions sympy to theano... following: http://matthewrocklin.com/blog/work/2013/03/28/SymPy-Theano-part-2/ And I run into a failure that appears simple to fix. Here's a simple example: from sympy.printing.theanocode import theano_function im=sp.sqrt(-1) x=sp.symbols("x") y=x+im*x fn_theano = theano_function([x], [y], dims={x: 1}, dtypes={x: 'float64'}) ends with: KeyError: <class 'sympy.core.numbers.ImaginaryUnit'> which appears to my naive eyes to be a just a missing entry in a conversion map. Can someone help? Thanks, Amir -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/51a1c550-0c33-456b-94c0-9fc433010917%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
