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 rowwise add #3604

Merged
merged 2 commits into from
Aug 21, 2017
Merged

Conversation

jacquesqiao
Copy link
Member

fix #3603

@jacquesqiao jacquesqiao self-assigned this Aug 21, 2017
Copy link
Contributor

@dzhwinter dzhwinter left a comment

Choose a reason for hiding this comment

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

LGTM++.
need to confirm the comment things first. :)

@@ -63,7 +63,7 @@ class RowwiseAddGradKernel : public framework::OpKernel {

// https://eigen.tuxfamily.org/dox/unsupported/TensorBase_8h_source.html
// colwise add
Eigen::array<int, 1> dims{{1}}; /* dimension to reduce */
Eigen::array<int, 1> dims{{0}}; /* dimension to reduce */
Copy link
Contributor

Choose a reason for hiding this comment

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

we need to confirm that will do a col-wise sum.

@jacquesqiao jacquesqiao merged commit 0d1715d into PaddlePaddle:develop Aug 21, 2017
@jacquesqiao jacquesqiao mentioned this pull request Aug 24, 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.

fix rowwise add grad
2 participants