Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sorki authored and erikd committed Dec 8, 2023
1 parent 766b962 commit 83cb4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grenade/Layers/FullyConnected.hs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ instance (KnownNat i, KnownNat o) => Layer (FullyConnected i o) ('D1 i) ('D1 o)
runBackwards (FullyConnected (FullyConnected' _ wN) _) x (S1D dEdy) =
let wB' = dEdy
mm' = dEdy `outer` x
-- calcluate derivatives for next step
-- calculate derivatives for next step
dWs = tr wN #> dEdy
in (FullyConnected' wB' mm', S1D dWs)

Expand Down

0 comments on commit 83cb4e4

Please sign in to comment.