Replies: 6 comments
-
There have been a few attempts of this over the years. It does work OKish, but the main problem is with higher-dimensional operations like slicing. |
Beta Was this translation helpful? Give feedback.
-
Are there any options for actually doing it (even incomplete ones)? I have not been able to find anything in the API. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
Google for Theano and Sympy. |
Beta Was this translation helpful? Give feedback.
-
https://docs.sympy.org/latest/modules/numeric-computation.html#aesara |
Beta Was this translation helpful? Give feedback.
-
I'm with you on the SymPy -> Aesara (Theano) side, but I don't see the reverse (Aesara -> SymPy) on the SymPy docs (just found some blogs from 2013). I'm happy to look further myself or write a parser for the stuff I need, but if you had any specific pointers, I'd be grateful! |
Beta Was this translation helpful? Give feedback.
-
I see, yeah I don't think there's recent stuff on that. |
Beta Was this translation helpful? Give feedback.
-
Congratulations on the great project!
Is it possible to obtain a sympy expression for a given computational graph? Obviously not all aesara primitives map to sympy, but it would certainly be interesting to be able to "parse" the aesara expression tree to a regular "formula" to be able to reason about certain processes analytically, even for a restricted subset of aesara. In a way, I am looking for an "inverse code generator"
Beta Was this translation helpful? Give feedback.
All reactions