We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c111a0 commit 05603c9Copy full SHA for 05603c9
paddle/fluid/operators/concat_op.h
@@ -51,7 +51,7 @@ static inline framework::DDim ComputeAndCheckShape(
51
}
52
} else {
53
bool check_shape =
54
- is_runtime || (out_dims[j] > 0 && inputs_dims[i][j] > 0);
+ is_runtime || (inputs_dims[0][j] > 0 && inputs_dims[i][j] > 0);
55
if (check_shape) {
56
// check all shape in run time
57
PADDLE_ENFORCE_EQ(inputs_dims[0][j], inputs_dims[i][j],
0 commit comments