lambdify should work with tensorflow out of the box by passing "tensorflow" as the third argument. As for limitations, I would suggest searching the issue tracker for "tensorflow" to see what issues existing users have run up against. I looked myself and the only relevant one I found is https://github.com/sympy/sympy/issues/20893. Also it's possible some functions may not be implemented for tensorflow, in which case you might need to make a PR to SymPy to add support for them.
Aaron Meurer On Wed, Jul 21, 2021 at 2:44 PM Naman Nimmo <namanger...@gmail.com> wrote: > > Hello! > > I would like to express some deep learning-enabled control systems using > SymPy but I see a general rule that SymPy functions do not work with objects > from other numerical libraries like NumPy or TensorFlow. > > Now I could use lambdify (thanks to whoever documented that so beautifully) > to provide a bridge between SymPy and NumPy/TF, but are there any major > limitations that I need to consider before I go forward with that? Those > could be the ones users usually face. > > Regards, > > -- > > > -- > 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 sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CALkUZDnyQ01FaTwTfomqAaJX_t-nT0V1UpsVBRks4E53YL%2BbxA%40mail.gmail.com. -- 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 sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BdrAuZ1Be-a%3DtAPLm2pfNrOCr5Y6-iAZA8nipuZWCV0w%40mail.gmail.com.