farizrahman4u / recurrentshop

Framework for building complex recurrent neural networks with Keras
MIT License
765 stars 218 forks source link

Is this a misswriting? #89

Open Lamyaaa opened 6 years ago

Lamyaaa commented 6 years ago

https://github.com/farizrahman4u/recurrentshop/blob/3a8ea080be82685b39c8a02369ccc4360d6e6094/recurrentshop/basic_cells.py#L34

Should be h_prime = add([Dense(output_dim)(multiply([r, h_tm1])), Dense(output_dim, use_bias=False)(x)]), rather than h_prime = add([Dense(10)(multiply([r, h_tm1])), Dense(10, use_bias=False)(x)])