Skip to content

Commit 9a764c9

Browse files
committed
adjoint fix
1 parent be1df82 commit 9a764c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/gradcheck.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ module gradcheck_tests
1111
using Test
1212
using ChainRulesCore
1313
using Diffractor
14-
using Diffractor: var"'"
1514
using Distributed: CachingPool, pmap, workers
1615
using FiniteDifferences
1716
using LinearAlgebra
@@ -75,6 +74,8 @@ end
7574
end
7675

7776
@testset "jacobian" begin
77+
using LinearAlgebra: var"'"
78+
@test jacobicheck(x -> x', rand(5))
7879
@test jacobicheck((x, W, b) -> identity.(W*x .+ b), 5, (2,5), 2)
7980
@test jacobicheck((x, W, b) -> identity.(W*x .+ b), (5,3), (2,5), 2)
8081

0 commit comments

Comments
 (0)