提交 dcba2e72 编写于 作者: P phlrain

fix conncat; test=develop

上级 955fad7a
......@@ -56,7 +56,7 @@ class ConcatOp : public framework::OperatorWithKernel {
"Input tensors should have the same "
"elements except the specify axis.");
} else {
// not check -1 in compile time
// not check -1 with other in compile time
if (out_dims[j] != -1 && ins[i][j] != -1) {
PADDLE_ENFORCE_EQ(out_dims[j], ins[i][j],
"Input tensors should have the same "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册