未验证 提交 8fdbbd5f 编写于 作者: C channings 提交者: GitHub

fix bug of OP:Pad

上级 66f82a47
...@@ -411,6 +411,7 @@ class OpSet9(): ...@@ -411,6 +411,7 @@ class OpSet9():
output_shape = node.out_shapes[0] output_shape = node.out_shapes[0]
assume_pad2d = False assume_pad2d = False
attr = {} attr = {}
paddings = []
if len(pads) == 4: if len(pads) == 4:
assume_pad2d |= mode != 'constant' assume_pad2d |= mode != 'constant'
if data_shape: if data_shape:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册