Skip to content
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

Minimal support for foward mode #14

Closed
wants to merge 2 commits into from
Closed

Conversation

mcabbott
Copy link
Member

@mcabbott mcabbott commented Dec 9, 2020

This just adds empty stubs for pushforward functions. This should be enough to let you call them within a backward-mode rule @adjoint map(f, xs) = ....

It is not enough to let you define new forward rules. I'm not sure whether @tangent is stable enough to also move over... that's a bigger job which could be done later.

@mcabbott
Copy link
Member Author

mcabbott commented Dec 9, 2020

It may make sense to similarly define forwarddiff, extract, seed, which would allow the use of ForwardDiff within rules, without depending on that package. (As proposed in #9, too).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant