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 c942918 commit cba9daeCopy full SHA for cba9dae
Project.toml
@@ -17,7 +17,7 @@ WoodburyMatrices = "efce3f68-66dc-5838-9240-27a6d6f5f9b6"
17
18
[compat]
19
AxisAlgorithms = "0.3, 1"
20
-ChainRulesCore = "0.9, 0.10"
+ChainRulesCore = "0.10"
21
OffsetArrays = "0.10, 0.11, 1.0.1"
22
Ratios = "0.3, 0.4"
23
Requires = "1.1"
src/chainrules/chainrules.jl
@@ -6,7 +6,7 @@ ChainRulesCore.jl `rrule` for integration with automatic differentiation librari
6
function ChainRulesCore.rrule(itp::AbstractInterpolation, x...)
7
y = itp(x...)
8
function pullback(Δy)
9
- (ChainRulesCore.DoesNotExist(), Δy * Interpolations.gradient(itp, x...))
+ (ChainRulesCore.NoTangent(), Δy * Interpolations.gradient(itp, x...))
10
end
11
y, pullback
12
0 commit comments