Skip to content

Conversation

devmotion
Copy link
Collaborator

Return nothing instead of ChainRulesCore.NotImplemented, similar to e.g. ChainRules.AbstractZero.

While this means - once again - dropping information present in CR types and hence makes the type less useful when used together with Zygote, it fixes problems such as #1204 that occur because Zygote pullbacks do not handle NotImplemented. nothing, however, is already supported throughout Zygote.

Fixes #1204.

@devmotion
Copy link
Collaborator Author

The test error with Julia nightly seems unrelated.

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.

AD error due to interaction of missing gradient of besselk and struct with vector
2 participants