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

rm rules for maximum, minimum, dropdims #1250

Merged
merged 3 commits into from
Jun 26, 2022
Merged

rm rules for maximum, minimum, dropdims #1250

merged 3 commits into from
Jun 26, 2022

Conversation

mcabbott
Copy link
Member

Closes #1244

Could perhaps use a test

@ToucheSir
Copy link
Member

Is there any way to add nested AD tests on the CR side? Otherwise one here would be great.

@mcabbott
Copy link
Member Author

CR has some tests that components used to make rules are themselves differentiable, in this case here:
https://github.com/JuliaDiff/ChainRules.jl/blob/main/test/rulesets/Base/array.jl#L369

But it's fairly easy to imagine missing something, so complete 2nd order tests using AD are probably better.

@mcabbott mcabbott merged commit a4eac89 into master Jun 26, 2022
@mcabbott mcabbott deleted the mcabbott-patch-1 branch June 26, 2022 00:40
@mcabbott mcabbott added the ChainRules adjoint -> rrule, and further integration label Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ChainRules adjoint -> rrule, and further integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nested gradient fails with "Mutating arrays is not supported"
2 participants