Browse Source

fix test reduction warning (#5397)

tags/20240410
nihui GitHub 2 years ago
parent
commit
e3758fdd19
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tests/test_reduction.cpp

+ 1
- 0
tests/test_reduction.cpp View File

@@ -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);



Loading…
Cancel
Save