on master help sign in
Simplify recurrent example

Produced better results when I tested (the Shakespeare example already contains a more complex recurrent network, let's KISS on this one.)

commit04b026f5d7083ba23261be976e12193a2f7f2480 authorkoenigmaximilian <github@koenigmaximilian.de> dateSat 7 Jul 2018, 18:49 (8 years ago) parent93435b2
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