Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Lucibello <[email protected]>
  • Loading branch information
DhairyaLGandhi and CarloLucibello authored Jan 18, 2022
1 parent bf3e77e commit 9141b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/basic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ end
@functor Dense

function (a::Dense)(x::AbstractVecOrMat)
W, b= a.weight, a.bias
W, b = a.weight, a.bias
σ = NNlib.fast_act(a.σ, x) # replaces tanh => tanh_fast, etc
return σ.(W*x .+ b)
end
Expand Down

0 comments on commit 9141b63

Please sign in to comment.