Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed May 25, 2024
1 parent 0636977 commit b34e7f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/Architecture/ActivationFunction.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# printing
io = IOBuffer()
for act in (Id(), ReLU(), Sigmoid(), Tanh(), LeakyReLU(0.1))
println(io, act)
end
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import Flux, MAT, ONNX, YAML
struct TestActivation <: ActivationFunction end

@testset "Architecture" begin
@testset "ActivationFunction" begin
include("Architecture/ActivationFunction.jl")
end
@testset "AbstractLayerOp" begin
include("Architecture/AbstractLayerOp.jl")
end
Expand Down

0 comments on commit b34e7f4

Please sign in to comment.