Flux.jl/src/activation.jl

4 lines
40 B
Julia
Raw Normal View History

2016-08-23 13:28:54 +00:00
export σ
σ(x) = 1 ./ (1 .+ exp.(-x))