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
new option use_packing_layout
tags/20190908
nihuini
6 years ago
parent
6d1944f2c3
commit
834224fea8
2 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/option.cpp
+3
-0
src/option.h
+ 2
- 0
src/option.cpp
View File
@@ -41,6 +41,8 @@ Option::Option()
use_int8_storage = true;
use_int8_arithmetic = false;
use_packing_layout = false;
// sanitize
if (num_threads <= 0)
num_threads = 1;
+ 3
- 0
src/option.h
View File
@@ -84,6 +84,9 @@ public:
bool use_fp16_arithmetic;
bool use_int8_storage;
bool use_int8_arithmetic;
//
bool use_packing_layout;
};
} // namespace ncnn
Write
Preview
Loading…
Cancel
Save