Skip to content

Conversation

@chengduoZH
Copy link
Contributor

@chengduoZH chengduoZH commented Dec 11, 2017

fix #6603

qingqing01
qingqing01 previously approved these changes Dec 14, 2017
if (input_grad) {
input_grad->mutable_data<T>(context.GetPlace());
set_zero(dev_ctx, input_grad, static_cast<T>(0));
// set_zero is unnecessary, math::matmul will reset input_grad.
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this comments in next PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can change it in this PR.

@chengduoZH chengduoZH merged commit 2a7bc64 into PaddlePaddle:develop Dec 14, 2017
@chengduoZH chengduoZH deleted the refine/conv_zero branch January 29, 2018 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants