Replies: 2 comments 2 replies
-
|
You're touching on some of the most complicated parts of Aesara here! You could construct a You might even be able to do this straight from within the |
Beta Was this translation helpful? Give feedback.
-
|
Your first option, i.e. using Could you elaborate a bit more on your option two? Thx. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to export Sympy expressions to aesara. Theses sympy expressions have to be evaluated in a recursive fashion and I want to realize this with
aesara.scan. Of course I can usesympy.printing.aesaracode.aesara_functionfor this and evaluate the resulting aesara function in a Python loop. But maybescangives better performance?Here a MWE
Variant 1 with
sympy.printing.aesaracode.aesara_functionVariant 2 with native
aesaraandscanSo, how can I combine the two variants, where I start with the sympy expressions and then use
scanfor the recursion?Thx.
Beta Was this translation helpful? Give feedback.
All reactions