From 9b9449fb7474a1577c1de9583299cd17c80cd662 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Fri, 28 Jul 2017 10:28:43 +0800 Subject: [PATCH] Typo --- paddle/framework/grad_op_builder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/framework/grad_op_builder.cc b/paddle/framework/grad_op_builder.cc index 6d9d174eea..6235be75f2 100644 --- a/paddle/framework/grad_op_builder.cc +++ b/paddle/framework/grad_op_builder.cc @@ -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 -- GitLab