未验证 提交 adb37e7c 编写于 作者: Q qinhj 提交者: GitHub

[operator] prototype/pad: fix unexpected output tensor dim 0 (#667)

上级 0e90aaa0
......@@ -51,7 +51,7 @@ static int infer_shape(ir_node_t* node)
}
else
{
return 0;
return -1;
}
set_ir_tensor_shape(output, dims, input->dim_num);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册