From 83cb4e4ec27ece8e7a7540d096bcf6c5ef3e8e7d Mon Sep 17 00:00:00 2001 From: sorki Date: Fri, 8 Dec 2023 20:05:06 +0100 Subject: [PATCH] fix typo --- src/Grenade/Layers/FullyConnected.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grenade/Layers/FullyConnected.hs b/src/Grenade/Layers/FullyConnected.hs index f3ebdea..bbd1d95 100644 --- a/src/Grenade/Layers/FullyConnected.hs +++ b/src/Grenade/Layers/FullyConnected.hs @@ -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)