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 word2vec example using new LoDTensor API #10888

Merged
merged 1 commit into from
May 25, 2018

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 simplify the new word2vec book example.

@kexinzhao kexinzhao requested review from daming-lu and sidgoyal78 May 24, 2018 00:59
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 PR. Let's wait before we merge this, we just found out that this book chapter is not in the CMake file. Moreover it has some other errors, so @daming-lu is fixing those now.

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

@kexinzhao kexinzhao merged commit 4d29a5d into PaddlePaddle:develop May 25, 2018
@kexinzhao kexinzhao deleted the word2vec_lod_fix branch May 25, 2018 00:42
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