Skip to content

Commit

Permalink
Fix test that is not broken anymore (#2349)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Oct 26, 2023
1 parent cfc6dad commit 4b4464a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Preferences = "1"
ProgressLogging = "0.1"
Reexport = "1.0"
SpecialFunctions = "2.1.2"
Zygote = "0.6.49"
Zygote = "0.6.67"
cuDNN = "1"
julia = "1.9"

Expand Down
2 changes: 1 addition & 1 deletion test/layers/basic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ end

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

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

0 comments on commit 4b4464a

Please sign in to comment.