-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Give Diffractor
a ForwardDiff
inspired interface
#158
Conversation
separate minor changes from #158
I think the better way to do this is to extend AbstractDifferentiation.jl I mean this is a partway step towards that, so we could do this first then that, but idk the motivation goes down once the short term need is met. This does mean doing |
So can we just define |
We should indeed be able to do something like that yes. Basically we need to define one of these 4 functions One can define more to include optimized versions of stuff like |
|
||
```julia | ||
using Diffractor: var"'" | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we not do this as part of this PR?
Closing in favor of #187 |
This is still somewhat WIP, but the goal is to make an exported interface for users to use. I'm currently running into some issues since this changes
gradient
to be forward mode (since forward mode is generally a lot more reliable currently).