Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
reyoung committed Jul 28, 2017
1 parent b0505fd commit 9b9449f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/framework/grad_op_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void GradOpBuilder::CompleteGradOp(OperatorBase* grad_op) const {
}
grad_op->attrs_["input_format"] = in_format;
grad_op->attrs_["output_format"] = out_format;
grad_op->in_out_idxs_.resect(grad_varmap);
grad_op->in_out_idxs_.reset(grad_varmap);
}

} // namespace framework
Expand Down

0 comments on commit 9b9449f

Please sign in to comment.