on master help sign in
Merge pull request #70 from koenigmaximilian/patch-1

Simplify recurrent example

commit92b5760926c5dcbffc4bf2dbb6e551dca9060261 authorHuw Campbell <huw.campbell@gmail.com> dateWed 11 Jul 2018, 15:29 (8 years ago) parent93435b204b026f
1 file changed+3−3
examples/main/recurrent.hs+3−3
examples/main/recurrent.hs+3−3
@@ -31,10 +31,10 @@ import Grenade.Recurrent
3131-- creation function know how to treat the layers.
3232type R = Recurrent
3333
34−type RecNet = RecurrentNetwork '[ R (LSTM 1 4), R (LSTM 4 1)]
35− '[ 'D1 1, 'D1 4, 'D1 1 ]
34+type RecNet = RecurrentNetwork '[ R (LSTM 1 1)]
35+ '[ 'D1 1, 'D1 1]
3636
37−type RecInput = RecurrentInputs '[ R (LSTM 1 4), R (LSTM 4 1)]
37+type RecInput = RecurrentInputs '[ R (LSTM 1 1)]
3838
3939randomNet :: MonadRandom m => m RecNet
4040randomNet = randomRecurrent