Skip to content

Commit

Permalink
fix RNN gpu test
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Oct 16, 2021
1 parent 3dd5138 commit 0400686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cuda/curnn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using Flux, CUDA, Test
θ = gradient(() -> sum(m(x)), params(m))
@test x isa CuArray
@test θ[m.cell.Wi] isa CuArray
@test collect(m̄[].cell.Wi) == collect(θ[m.cell.Wi])
@test collect(m̄.cell.Wi) == collect(θ[m.cell.Wi])
end

@testset "RNN" begin
Expand Down

0 comments on commit 0400686

Please sign in to comment.