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 faea10f commit 292a82dCopy full SHA for 292a82d
test/trainables.jl
@@ -83,7 +83,7 @@ end
83
@test g == (a = ((x = [2.0, 4.0, 6.0], y = nothing, z = [8.0, 10.0, 12.0]), nothing), b = ([2.0, 4.0, 6.0], nothing), c = ((x = [2.0, 4.0, 6.0], y = [2.0, 4.0, 6.0], z = [8.0, 10.0, 12.0]), nothing))
84
85
g = gradient(loss, m6)[1]
86
- @test g = (a = [2.0, 4.0, 6.0], b = ComplexF64[8.0 + 2.0im], c = [2.0, 4.0, 6.0])
+ @test g == (a = [2.0, 4.0, 6.0], b = ComplexF64[8.0 + 2.0im], c = [2.0, 4.0, 6.0])
87
88
g = gradient(loss, m7)[1]
89
@test g == (a = (nothing, [2.0, 4.0, 6.0]), b = nothing, c = nothing)
0 commit comments