From 48a3e3b86f0777d49c41d2ed91bef66fd3e6e763 Mon Sep 17 00:00:00 2001 From: wjj19950828 Date: Sat, 7 May 2022 15:51:44 +0800 Subject: [PATCH] rm useless code --- x2paddle/op_mapper/pytorch2paddle/aten.py | 1 - 1 file changed, 1 deletion(-) diff --git a/x2paddle/op_mapper/pytorch2paddle/aten.py b/x2paddle/op_mapper/pytorch2paddle/aten.py index 1b7c5e7..82ef310 100755 --- a/x2paddle/op_mapper/pytorch2paddle/aten.py +++ b/x2paddle/op_mapper/pytorch2paddle/aten.py @@ -2818,7 +2818,6 @@ def aten_index(mapper, graph, node): output_name = mapper._get_outputs_name(node)[0] layer_outputs = [output_name] layer_inputs = {} - layer_attrs = {} inputs_name, inputs_node = mapper._get_inputs_name(node) # output list current_outputs = [output_name] -- GitLab