wrong error message of concat op
Created by: gavin1332
PaddlePaddle版本:1.6 release
we get a confused error message of concat op as follows, in which I find nothing wrong:
ShapeError: Input tensors should have same dimensions(or specific dimension = -1) except the axis. But recevied axis = 1, input[0]'s shape = [1, 255], input[1]'s shape = [1, 255], the "0" dimension of input[1] is unexpected at [/paddle/paddle/fluid/operators/concat_op.cc:77]
after debuging, I found the error reporting is wrong:
the parameter list should be
axis, ins[0], i, ins[i]
, j, i