Open Lamyaaa opened 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)])
h_prime = add([Dense(output_dim)(multiply([r, h_tm1])), Dense(output_dim, use_bias=False)(x)])
h_prime = add([Dense(10)(multiply([r, h_tm1])), Dense(10, use_bias=False)(x)])
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 thanh_prime = add([Dense(10)(multiply([r, h_tm1])), Dense(10, use_bias=False)(x)])