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

Feature/param attr #5996

Merged
merged 8 commits into from
Nov 29, 2017
Merged

Feature/param attr #5996

merged 8 commits into from
Nov 29, 2017

Conversation

reyoung
Copy link
Collaborator

@reyoung reyoung commented Nov 28, 2017

Fix #5819

The only commit of this PR is f096e71

@reyoung reyoung added this to the Release 0.11.0 milestone Nov 29, 2017
@@ -132,26 +132,26 @@ def test_word_embedding(self):
input=first_word,
size=[dict_size, embed_size],
dtype='float32',
param_attr={'name': 'shared_w'},
param_attr='shared_w',
Copy link
Member

Choose a reason for hiding this comment

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

感觉用 param_attr=fluid.ParamAttr(name='shared_w') 看起来更容易理解一些,这种自动转换不太好。

Copy link
Contributor

Choose a reason for hiding this comment

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

没理解,自动转换是指?

Copy link
Member

@jacquesqiao jacquesqiao left a comment

Choose a reason for hiding this comment

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

LGTM!

@reyoung reyoung merged commit 1b6dcc2 into PaddlePaddle:develop Nov 29, 2017
@reyoung reyoung deleted the feature/param_attr branch December 26, 2017 09:25
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.

3 participants