Skip to content

Commit

Permalink
follow comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chengduoZH committed Dec 14, 2017
1 parent aa2f2fb commit 97c3de0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion paddle/operators/conv_transpose_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ class GemmConvTransposeGradKernel : public framework::OpKernel<T> {

if (input_grad) {
input_grad->mutable_data<T>(context.GetPlace());
// set_zero is unnecessary, math::matmul will reset input_grad.
}
if (filter_grad) { // filter size (m, c, k_h, k_w)
filter_grad->mutable_data<T>(context.GetPlace());
Expand Down

0 comments on commit 97c3de0

Please sign in to comment.