diff --git a/x2paddle/op_mapper/paddle2onnx/opset9/opset.py b/x2paddle/op_mapper/paddle2onnx/opset9/opset.py index 7bf46f2748e7ca3666eedd73d692caa492ed3755..8e1b3135f2fa84687b28721f63af5d4badfaa015 100644 --- a/x2paddle/op_mapper/paddle2onnx/opset9/opset.py +++ b/x2paddle/op_mapper/paddle2onnx/opset9/opset.py @@ -462,7 +462,7 @@ class OpSet9(object): ends = op.attr('ends') node = helper.make_node( "Slice", - inputs=[op.input('Input')[0], starts_name, ends_name, axes_name], + inputs=[op.input('Input')[0]], outputs=op.output('Out'), axes=axes, starts=starts,