We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d1fd23 commit fe17697Copy full SHA for fe17697
paddle/fluid/operators/concat_op.h
@@ -71,7 +71,7 @@ static inline framework::DDim ComputeAndCheckShape(
71
return out_dims;
72
}
73
74
-inline int64_t ComputeAxis(int64_t axis, int64_t rank) {
+static inline int64_t ComputeAxis(int64_t axis, int64_t rank) {
75
PADDLE_ENFORCE_EQ(
76
axis >= -rank && axis < rank, true,
77
platform::errors::InvalidArgument(
0 commit comments