Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
YichengDWu committed Mar 18, 2023
1 parent cfb8b7d commit 3b7c8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ rng = Random.default_rng()
@testset "Constructors" begin
model = DeepONet((3, 5, 4), relu, (2, 6, 4, 4), tanh)
@test model.branch_net.layers[end].activation == identity
@test model.trunk_net.layers[end].activation == tanh_fast
@test model.trunk_net.layers[end].activation == tanh

branch = Chain(Dense(2, 3), Dense(3, 4))
trunk = Chain(Dense(3, 4), Dense(4, 5))
Expand Down

0 comments on commit 3b7c8d2

Please sign in to comment.