diff --git a/x2paddle/op_mapper/onnx_op_mapper.py b/x2paddle/op_mapper/onnx_op_mapper.py index 9912fc1c1fcb6031cda01ece4552be38ae36bf73..ea095ca0e0747a4a4f86fe589b50262d3ce7f4c8 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.")