diff --git a/x2paddle/op_mapper/paddle2onnx/opset9/opset.py b/x2paddle/op_mapper/paddle2onnx/opset9/opset.py index 8e1b3135f2fa84687b28721f63af5d4badfaa015..0cec86f336db2ce8a5f0098ba6b3081ef499f5ad 100644 --- a/x2paddle/op_mapper/paddle2onnx/opset9/opset.py +++ b/x2paddle/op_mapper/paddle2onnx/opset9/opset.py @@ -846,8 +846,8 @@ class OpSet9(object): node0 = helper.make_node( 'Add', inputs=[op.input('X')[0], offset_name], outputs=[name0]) name1 = self.get_name(op.type, 'relu') - min_value = op.attr('min') - max_value = op.attr('max') + min_value = 0.0 + max_value = op.attr('threshold') node1 = helper.make_node( 'Clip', inputs=[name0],