Skip to content

Conversation

@kexinzhao
Copy link
Contributor

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 machine translation book example.

@kexinzhao kexinzhao force-pushed the machine_translation_lod branch from 24e8c65 to c7f9a7e Compare May 29, 2018 23:15
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.

Thanks for the changes, the example is much more concise now. LGTM

@kexinzhao kexinzhao merged commit 60783a7 into PaddlePaddle:develop May 30, 2018
@kexinzhao kexinzhao deleted the machine_translation_lod branch May 30, 2018 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants