Skip to content

Conversation

@shionhonda
Copy link

@shionhonda shionhonda commented Aug 26, 2021

RNN.h2h should be initialized with in_size=hidden_size.

steps/step59.py is currently working because it instantiates RNN with L.RNN(hidden_size) (i.e., in_size=None), but if you instantiate like L.RNN(hidden_size, 1), it throws a shape mismatch error at self.h2h(self.h) during its forward operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant