未验证 提交 dcc4181f 编写于 作者: J Jason 提交者: GitHub

Merge pull request #376 from Channingss/fix_nearest

fix bug of OP:Pad
...@@ -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.
先完成此消息的编辑!
想要评论请 注册