Skip to content

Conversation

@pengli09
Copy link
Contributor

@pengli09 pengli09 commented Oct 16, 2017

Ensure name is not set in bias_attr in gru_step_naive_layer. Otherwise, the three biases will share the same parameter unexpectedly.
Fixes #4829

@pengli09 pengli09 requested a review from luotao1 October 16, 2017 06:57
@luotao1
Copy link
Contributor

luotao1 commented Oct 16, 2017

the three biases will share the same parameter unexpectedly

请问是哪三个bias呢?能不能提一个issue来详细描述下这个问题呢?


if bias_attr and bias_attr.attr.get("parameter_name", None) is not None:
raise ValueError("You should not specify the name of bias parameters. "
"Otherwise, the three bias will share the same "
Copy link
Contributor

Choose a reason for hiding this comment

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

three bias可以具体说一下是哪三个

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@luotao1 luotao1 merged commit aeccaf5 into PaddlePaddle:develop Oct 16, 2017
@pengli09 pengli09 deleted the ensure-bias-attr-has-no-name branch October 24, 2017 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants