whoops
This commit is contained in:
parent
821efb0cf6
commit
2b88be1c7f
|
@ -6,6 +6,6 @@ back!(::typeof(σ), Δ, x) = Δ .* σ(x)./(1.-σ(x))
|
|||
|
||||
relu(x) = max(0, x)
|
||||
|
||||
back(::typeof(relu), Δ, x) = Δ .* (x .< 0)
|
||||
back!(::typeof(relu), Δ, x) = Δ .* (x .< 0)
|
||||
|
||||
softmax(xs) = exp.(xs) ./ sum(exp.(xs))
|
||||
|
|
Loading…
Reference in New Issue