From 1f827c0ff1fe07f3f707d7c17d00878b75cd8e0a Mon Sep 17 00:00:00 2001 From: Channingss Date: Wed, 1 Jul 2020 07:31:29 +0000 Subject: [PATCH] fix bug --- x2paddle/op_mapper/onnx_op_mapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x2paddle/op_mapper/onnx_op_mapper.py b/x2paddle/op_mapper/onnx_op_mapper.py index 9912fc1..ea095ca 100644 --- a/x2paddle/op_mapper/onnx_op_mapper.py +++ b/x2paddle/op_mapper/onnx_op_mapper.py @@ -44,7 +44,7 @@ class ONNXOpMapper(OpMapper): elif op in self.opset.default_op_mapping: self.opset.directly_map(node) elif op in custom_layers: - self.opser.deal_custom_layer(node) + self.opset.deal_custom_layer(node) elif op in self.opset.elementwise_ops: self.opset.elementwise_map(node) print("Nodes converted.") -- GitLab