Skip to content

persist Seq2Seq through keras load - save api#224

Open
stefanoterna wants to merge 5 commits intofarizrahman4u:masterfrom
tomorrowdata:fix_outputdim_from_h5
Open

persist Seq2Seq through keras load - save api#224
stefanoterna wants to merge 5 commits intofarizrahman4u:masterfrom
tomorrowdata:fix_outputdim_from_h5

Conversation

@stefanoterna
Copy link

Added a get_config override method to handle hidden_dim in LSTMDecoderCell and AttentionDecoderCell.

Moreover, the constructors of both classes relied on self.output_dim to set the value of hidden_dim if not supplied. But self.output_dim is not available until super constructor has been called. Fixed by accessing directly to kwargs, so that hidden_dim is be available when the super constructor calls the build_model method.

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