Skip to content

Commit

Permalink
fix test reduction warning (#5397)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored Apr 1, 2024
1 parent 6872cca commit e3758fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_reduction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ static int test_reduction(const ncnn::Mat& _a, float coeff, int keepdims, const
pd.set(2, coeff);
pd.set(3, axes);
pd.set(4, keepdims);
pd.set(5, 1); // fixbug0

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

Expand Down

0 comments on commit e3758fd

Please sign in to comment.