Update test/layers/basic.jl

This commit is contained in:
Lyndon White 2020-06-12 13:58:10 +01:00 committed by GitHub
parent 601f842eaf
commit e61787c1c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +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)
@test_throws MethodError Dense(10, 10.5, tanh)
end
@test length(Dense(10, 5)(randn(10))) == 5