This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
nihui
/
ncnn
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
46
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix test reduction warning (
#5397
)
tags/20240410
nihui
GitHub
2 years ago
parent
6872cca3fc
commit
e3758fdd19
No known key found for this signature in database
GPG Key ID:
B5690EEEBB952194
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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);
Write
Preview
Loading…
Cancel
Save