From 903cee93033db2957991b9385b380b6163fdda89 Mon Sep 17 00:00:00 2001 From: superjom Date: Wed, 20 Sep 2017 22:52:32 -0400 Subject: [PATCH] clean code --- paddle/operators/rnn/recurrent_op_utils.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/paddle/operators/rnn/recurrent_op_utils.cc b/paddle/operators/rnn/recurrent_op_utils.cc index d63c86b301c..a767009d236 100644 --- a/paddle/operators/rnn/recurrent_op_utils.cc +++ b/paddle/operators/rnn/recurrent_op_utils.cc @@ -112,14 +112,11 @@ void InitArgument(const ArgumentName& name, Argument* arg, const framework::OperatorBase& op, bool is_grad) { arg->step_scopes = is_grad ? op.Input(name.step_scopes) : op.Output(name.step_scopes); - arg->inlinks = op.Inputs(name.inlinks); - arg->outlinks = op.Outputs(name.outlinks); auto boot_memories = is_grad ? op.Outputs(name.boot_memories) : op.Inputs(name.boot_memories); - // attributes auto memories = op.Attr>(name.memories); auto pre_memories = op.Attr>(name.pre_memories); -- GitLab