-
Notifications
You must be signed in to change notification settings - Fork 5
Reverse rules for Enzyme #86
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
... and 22 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
Your PR no longer requires formatting changes. Thank you for your contribution! |
4408849 to
ec8354b
Compare
| func::Const{typeof($f)}, | ||
| ::Type{RT}, | ||
| A::Annotation{<:AbstractMatrix}, | ||
| arg::Annotation{<:Tuple{<:AbstractMatrix, <:AbstractMatrix}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove AbstractMatrix restrictions here and elsewhere
| ) where {RT} | ||
| cache_arg = nothing | ||
| # form cache if needed | ||
| cache_A = (EnzymeRules.overwritten(config)[2] && !(typeof(arg) <: Const)) ? copy(A.val) : nothing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this safe for the ! methods? Those should be tested directly
6b6c44b to
7478c90
Compare
No description provided.