You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But not if rrule (rather than ChainRulesCore.rrule) is used, when it does the wrong thing:
julia> ChainRulesCore.@opt_outrrule(::typeof(Base.:*), ::MyMatrix, ::AbstractMatrix{<:Real})
rrule (generic function with 1 method)
julia>methods(rrule)
# 1 method for generic function "rrule":
[1] rrule(::typeof(*), ::MyMatrix, ::AbstractMatrix{<:Real}) in Main
The text was updated successfully, but these errors were encountered:
Found in FluxML/Zygote.jl#1146 (comment) It will complain if the wrong function name is defined
But not if
rrule
(rather thanChainRulesCore.rrule
) is used, when it does the wrong thing:The text was updated successfully, but these errors were encountered: