LantaoYu / SeqGAN

Implementation of Sequence Generative Adversarial Nets with Policy Gradient
2.09k stars 711 forks source link

Ui should be a matrix from hidden state dim to hidden state dim #9

Closed jozef-mokry closed 7 years ago

jozef-mokry commented 7 years ago

Hi,

I think Ui should have the shape (hidden_dim, hidden_dim) since it is later used as tf.matmul(previous_hidden_state, self.Ui) + self.bi

Jozef