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

implement some chainrules #513

Open
lazarusA opened this issue Aug 8, 2023 · 2 comments
Open

implement some chainrules #513

lazarusA opened this issue Aug 8, 2023 · 2 comments
Labels
enhancement New feature or request extensions

Comments

@lazarusA
Copy link
Collaborator

lazarusA commented Aug 8, 2023

maybe defining a few chainrules for DD, similar to

https://github.com/mcabbott/AxisKeys.jl/blob/master/src/chainrules.jl

would be useful for a wider adoption of DD.

@rafaqz
Copy link
Owner

rafaqz commented Aug 8, 2023

I guess we can just duplicate these tests?

https://github.com/mcabbott/AxisKeys.jl/blob/master/test/_chainrules.jl

I dont understand differentiation or its package ecosystem like invenia people do, but I can copy their code 😅

@sethaxen
Copy link
Collaborator

sethaxen commented Aug 8, 2023

I'd be happy to help with this. While ChainRulesCore was originally intended to be a lightweight dep, it's more commonly now used as a weak dep in an extension.

@rafaqz rafaqz added enhancement New feature or request extensions labels Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request extensions
Projects
None yet
Development

No branches or pull requests

3 participants