We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe2db07 commit c84842aCopy full SHA for c84842a
src/zygote.jl
@@ -49,7 +49,7 @@ ChainRulesCore.ProjectTo(x::VectorOfArray) = ChainRulesCore.ProjectTo{VectorOfAr
49
# Gradient from iteration will be e.g. Vector{Vector}, this makes it another AbstractMatrix
50
(::ChainRulesCore.ProjectTo{VectorOfArray})(dx::AbstractVector{<:AbstractArray}) = VectorOfArray(dx)
51
# Gradient from broadcasting will be another AbstractArray
52
-(::ChainRulesCore.ProjectTo{VectorOfArray})(dx::AbstractArray) = dx
+#(::ChainRulesCore.ProjectTo{VectorOfArray})(dx::AbstractArray) = dx
53
54
# These rules duplicate the `rrule` methods above, because Zygote looks for an `@adjoint`
55
# definition first, and finds its own before finding those.
0 commit comments