提交 c3773664 编写于 作者: M mamingjie-China

update

上级 aa98edf9
......@@ -220,7 +220,10 @@ class TFOpMapperNHWC(OpMapper):
block_size = node.get_attr("block_size")
data_format = node.get_attr("data_format").decode()
n, h, w, c = input.out_shapes[0]
if data_format == "NHWC":
n, h, w, c = input.out_shapes[0]
else:
n, c, h, w = input.out_shapes[0]
input_name = input.name
if data_format == "NHWC":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册