提交 3ceed11a 编写于 作者: C Channingss

fix bug of slice

上级 f49af9f3
...@@ -462,7 +462,7 @@ class OpSet9(object): ...@@ -462,7 +462,7 @@ class OpSet9(object):
ends = op.attr('ends') ends = op.attr('ends')
node = helper.make_node( node = helper.make_node(
"Slice", "Slice",
inputs=[op.input('Input')[0], starts_name, ends_name, axes_name], inputs=[op.input('Input')[0]],
outputs=op.output('Out'), outputs=op.output('Out'),
axes=axes, axes=axes,
starts=starts, starts=starts,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册