Skip to content

Commit 8e8e0dd

Browse files
fix rrule
1 parent 7240ecf commit 8e8e0dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/upsample.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ end
213213
function ChainRulesCore.rrule(::typeof(upsample_bilinear), x; size)
214214
Ω = upsample_bilinear(x; size=size)
215215
function upsample_bilinear_pullback(Δ)
216-
(NO_FIELDS, ∇upsample_bilinear(Δ; size=(Base.size(x,1),Base.size(x,2))), DoesNotExist())
216+
(NO_FIELDS, ∇upsample_bilinear(Δ; size=(Base.size(x,1),Base.size(x,2))))
217217
end
218218
return Ω, upsample_bilinear_pullback
219219
end

0 commit comments

Comments
 (0)