bonus test

This commit is contained in:
Lyndon White 2020-06-11 23:17:40 +01:00 committed by GitHub
parent a1623aca76
commit 601f842eaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ import Flux: activations
@test Dense(rand(100,10), rand(10)).σ == identity
@test_throws MethodError Dense(10, 10.5)
@test_throws MethodError Dense(10, 10.5; σ=tanh)
end
@test length(Dense(10, 5)(randn(10))) == 5