Skip to content

Commit 4b4464a

Browse files
authored
Fix test that is not broken anymore (#2349)
1 parent cfc6dad commit 4b4464a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Preferences = "1"
4949
ProgressLogging = "0.1"
5050
Reexport = "1.0"
5151
SpecialFunctions = "2.1.2"
52-
Zygote = "0.6.49"
52+
Zygote = "0.6.67"
5353
cuDNN = "1"
5454
julia = "1.9"
5555

test/layers/basic.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ end
421421

422422
m1v = Chain([m1[1], m1[2]]) # vector of layers
423423
@test Zygote.hessian_dual(summ1v, [1,2,3]) Zygote.hessian_dual(summ1, [1,2,3])
424-
@test_broken Zygote.hessian_dual(summ1v, [1,2,3]) Zygote.hessian_reverse(summ1v, [1,2,3])
424+
@test Zygote.hessian_dual(summ1v, [1,2,3]) Zygote.hessian_reverse(summ1v, [1,2,3])
425425

426426
# NNlib's softmax gradient writes in-place
427427
m2 = Chain(Dense(3,4,tanh), Dense(4,2), softmax)

0 commit comments

Comments
 (0)