Skip to content

Commit e3758fd

Browse files
authored
fix test reduction warning (#5397)
1 parent 6872cca commit e3758fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_reduction.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ static int test_reduction(const ncnn::Mat& _a, float coeff, int keepdims, const
109109
pd.set(2, coeff);
110110
pd.set(3, axes);
111111
pd.set(4, keepdims);
112+
pd.set(5, 1); // fixbug0
112113

113114
std::vector<ncnn::Mat> weights(0);
114115

0 commit comments

Comments
 (0)