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

fix add op bug in backward #4548

Merged
merged 16 commits into from
Oct 3, 2017
Merged

Conversation

dzhwinter
Copy link
Contributor

fix #4502

insert_position.push_back(
{dup_op.back(),
OpRegistry::CreateOp(
"add", {{"X", {insert_add_x}}, {"Y", {insert_add_y}}},
Copy link
Member

Choose a reason for hiding this comment

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

There is no add operator already, please use sum operator.

JiayiFeng
JiayiFeng previously approved these changes Oct 2, 2017
Copy link
Collaborator

@JiayiFeng JiayiFeng left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@dzhwinter dzhwinter merged commit 8bf209f into PaddlePaddle:develop Oct 3, 2017
@dzhwinter dzhwinter changed the title add generic add operator fix add op bug in backward Oct 3, 2017
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.

If combination op has several same input, it will fail at check_grad
6 participants