From 3789090bcd2e665dbc834afd04feccb32712ae8f Mon Sep 17 00:00:00 2001 From: Channingss Date: Tue, 4 Aug 2020 06:51:57 +0000 Subject: [PATCH] change output of sum --- x2paddle/op_mapper/paddle2onnx/opset9/opset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x2paddle/op_mapper/paddle2onnx/opset9/opset.py b/x2paddle/op_mapper/paddle2onnx/opset9/opset.py index 5973fa4..14cba9a 100644 --- a/x2paddle/op_mapper/paddle2onnx/opset9/opset.py +++ b/x2paddle/op_mapper/paddle2onnx/opset9/opset.py @@ -400,7 +400,7 @@ class OpSet9(object): def sum(self, op, block): node = helper.make_node( - 'Sum', inputs=op.input('X'), outputs=op.output('Y')) + 'Sum', inputs=op.input('X'), outputs=op.output('Out')) return node def depthwise_conv2d(self, op, block): -- GitLab