Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: incorrect activation usage
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal authored Jul 22, 2024
1 parent c3052eb commit 575cfa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impl/bias_activation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function __apply_bias_activation_cached!!(
if can_setindex(x)
opmode = internal_operation_mode((x, bias))
if opmode isa LoopedArrayOp
bc = Broadcast.instantiate(Broadcast.broadcasted(σ +, x, bias_))
bc = Broadcast.instantiate(Broadcast.broadcasted(+, x, bias_))
@simd ivdep for I in eachindex(bc)
@inbounds x[I] = bc[I]
end
Expand Down

0 comments on commit 575cfa4

Please sign in to comment.