Skip to content

Commit 01c6ca1

Browse files
Update ext/RecursiveArrayToolsZygoteExt.jl
1 parent 958f9e8 commit 01c6ca1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ext/RecursiveArrayToolsZygoteExt.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ end
1313
# Define a new species of projection operator for this type:
1414
ChainRulesCore.ProjectTo(x::VectorOfArray) = ChainRulesCore.ProjectTo{VectorOfArray}()
1515

16-
Zygote._tryreverse(m::typeof(map), x::AbstractVectorOfArray) = x
17-
Zygote._tryreverse(m::typeof(map), x::Matrix) = x
18-
1916
function ChainRulesCore.rrule(T::Type{<:RecursiveArrayTools.GPUArraysCore.AbstractGPUArray},
2017
xs::AbstractVectorOfArray)
2118
T(xs), ȳ -> (ChainRulesCore.NoTangent(), ȳ)

0 commit comments

Comments
 (0)