-
Notifications
You must be signed in to change notification settings - Fork 89
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
Change convention for complex differentiation #210
Comments
Happy to help out anywhere that it would be useful, but you're probably the best placed to deal with these. |
This is not breaking for Zygote. |
Good point, thanks. Yes, if Zygote bumps the compat and stops conjugating to/from ChainRules at the same time, this is not a breaking change. I have updated. |
721: Use ChainRules v0.7.0 r=oxinabox a=sethaxen ChainRules v0.7.0 introduced a new convention for complex numbers. It is no longer necessary for Zygote to conjugate sensitivities sent to and received from ChainRules. This PR is a non-breaking change that uses ChainRules v0.7.0. Fixes JuliaDiff/ChainRules.jl#210 and supersedes #720. Co-authored-by: Seth Axen <[email protected]>
This issue tracks the necessary changes after JuliaDiff/ChainRulesCore.jl#167 is merged:
ChainRulesCore.@scalar_rule
to conjugate the partials inrrule
. (breaking change) (Conjugate partials in scalar rrule ChainRulesCore.jl#170)ChainRulesTestUtils.test_scalar
to conjugate the derivative when testingrrule
. (breaking change)(Follow new complex rule conventions ChainRulesTestUtils.jl#44)rrule
s to follow the new convention (breaking change).I have local implementations of most of these already.
The text was updated successfully, but these errors were encountered: