You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The autodiff isn't fast enough for embedded environments.
Option 1: Code generation
Generating a linear sequence of stack operations would be faster. It should walk the autodiff tree as usual and write out the C++ expressions instead of computing them. A Doxygen comment should be generated for each function.
Option 2: Expression templates
Since the overhead comes from dynamic dispatch, we could use expression templates instead, though that could get complicated and increase compilation times.
The autodiff isn't fast enough for embedded environments.
Option 1: Code generation
Generating a linear sequence of stack operations would be faster. It should walk the autodiff tree as usual and write out the C++ expressions instead of computing them. A Doxygen comment should be generated for each function.
Option 2: Expression templates
Since the overhead comes from dynamic dispatch, we could use expression templates instead, though that could get complicated and increase compilation times.
https://en.wikipedia.org/wiki/Expression_templates
The text was updated successfully, but these errors were encountered: