Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify RNN encoder decoder example using new LoDTensor API #11021

Merged
merged 2 commits into from
May 30, 2018

Conversation

kexinzhao
Copy link
Contributor

@kexinzhao kexinzhao commented May 29, 2018

Please check #10735 for why we are doing this.

To solve the issue above, we have merged a PR #10817 and now there is utility functions here to create LoDTensor.

So this means that we can simplify the book example code using the new API.
This PR tries to modify the rnn encoder decoder book example.

@kexinzhao kexinzhao requested a review from sidgoyal78 May 30, 2018 01:43
Copy link
Contributor

@sidgoyal78 sidgoyal78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, side note: changing from notest to test should work due to PR #8377

@kexinzhao kexinzhao merged commit 83fb834 into PaddlePaddle:develop May 30, 2018
@kexinzhao kexinzhao deleted the encoder_decoder_lod branch May 30, 2018 21:51
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.

2 participants