We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I have read the documentations for defining rrules and I am not sure how to define rrules for high order functions. For example
gradient(x -> asyncmap(x -> exp(x), x),1:100)
Does not compile in Zygote due to the existence of some try catch clause. How do I implement the rrule?
The text was updated successfully, but these errors were encountered:
Answer is at: https://juliadiff.org/ChainRulesCore.jl/dev/rule_author/superpowers/ruleconfig.html#Writing-rules-that-call-back-into-AD
Though, I suggest that you should probably just update to the newer version of Zygote which supports try-catch clauses.
Sorry, something went wrong.
No branches or pull requests
Hi,
I have read the documentations for defining rrules and I am not sure how to define rrules for high order functions.
For example
Does not compile in Zygote due to the existence of some try catch clause. How do I implement the rrule?
The text was updated successfully, but these errors were encountered: