nihui
e2bd4eae6e
write shape as 4-number tuple
6 years ago
tpoisonooo
e37dba131a
fix compile warnings ( #1518 )
6 years ago
nihui
6cefaad957
ncnnoptimize shape inference, load shape hint
6 years ago
nihui
a718129d76
shader pack8 option works
6 years ago
nihui
a9d2cb8d6b
enable pack8 shaders for layers without shape changes
6 years ago
nihui
5938d6c428
reorg pack8 shader
6 years ago
nihui
680df01f27
reorg test
6 years ago
nihui
3b83c767c4
conv1x1s1 conv3x3s1 winograd23 pack8 shader
6 years ago
nihui
b2819d9dfc
crop flatten pack8 shader fix
6 years ago
nihui
e050d596b0
fix convolution int8 requant test on x86
6 years ago
nihui
2b624686e6
crop pack8 shader
6 years ago
nihui
486b4f6cf7
find opencv and build examples
6 years ago
nihui
0979a67990
ci opencv ( #1511 )
6 years ago
nihui
05ab6813f5
c++03 compiler happy
6 years ago
tpoisonooo
2e51b026ce
fix some boring compile warnings ( #1510 )
6 years ago
kalcohol
6916f45237
fix quantize tools cross platform issues ( #1505 )
* 1. for cross platform, use cv::CommandLineParser instead of getopt.h
2. use cv::glob to search folder instead of dirent.h
3. fix some other warnings of function from cstdlib
4. add some const and some auto
* 1. fix some other warnings of function from cstdlib
2. add some const and some auto
3. i forgot...
* switch quantize tools default on
* check OpenCV first, if not found, disable quantize tools
* add _CRT_SECURE_NO_DEPRECATE for msvc and remove *_s functions
* add _CRT_SECURE_NO_DEPRECATE for msvc and remove *_s functions
* keep the one line style block
* folding bracket
* dynamic_cast -> static_cast
6 years ago
nihui
db9b3ab40f
packing shall support vulkan
6 years ago
nihuini
0ebb0e1903
fix batchnorm arm pack4 on vec and image
6 years ago
nihuini
22c5b0e26e
batchnorm test
6 years ago
nihuini
f813222c1a
template candy
6 years ago
nihui
e8052e830e
add more pack8 shaders
6 years ago
nihui
4c381bee47
reduce reshape pack4 bandwidth, add some pack8 shaders
6 years ago
tpoisonooo
7168829f06
Fix int8 requant ( #1499 )
* skip compile caffe tools
* add convolution_int8 requant test
* fix
* test int8requant
* revert code
* clean code
* fix CI error
* resolve review advices
* Update convolution_arm.cpp
Co-authored-by: nihui <shuizhuyuanluo@126.com>
6 years ago
Cai Shanli
4a1ff55d9e
baseclass Pipeline use virtual destruction ( #1504 )
baseclass Pipeline use virtual destruction
6 years ago
nihui
bfe8a86788
the very first pack8 shaders
6 years ago
nihui
71b11d3457
fix convolution x86 dilation path
6 years ago
Albert Zou
591b13ed05
Add AbsVal layer test ( #1490 )
* add AbsVal layer test
* add 2d and 1d data test for AbsVal layer
* sort by alphabet
6 years ago
nihui
33b16811ce
reimplement sfp afp conversion macro as function style buffer load store, drop lds shader for the moment
6 years ago
nihui
34db884906
pooling test, the more naive avgpool_count_include_pad==0 path
6 years ago
nihui
2ab7c7c4ed
softmax test
6 years ago
nihui
d9c803a9e5
ci vulkan sdk update ( #1484 )
6 years ago
nihui
5042d14d7d
define sfpvec8 afpvec8 macro, use modern glsl extension for fp16 arithmetic, fix padding aarch64 build
6 years ago
nihui
ebed350c48
add flatten test, fix build on armv7
6 years ago
nihui
4cd80f6636
fix padding arm pack4 per_channel_pad
6 years ago
nihuini
2f16eaa476
fix padding test per channel pad value
6 years ago
nihuini
c78b8a08fd
padding reflect pack4, add padding test
6 years ago
nihuini
febd1a0ebc
add crop test
6 years ago
nihuini
5147526239
crop vulkan pack4to1to4 and pack4to1to1
6 years ago
kalcohol
e3d029a7d6
add cmake folder property ( #1483 )
* add folder property for a better looking in visual studio or other property supported IDEs
* fix condition for not found protobuf
* 1. capitalize to lowercase
2. rename visual folder 'test' to 'tests'
6 years ago
nihuini
d1d23574ad
one job for gpu test
6 years ago
nihuini
2225694592
add reshape test
6 years ago
nihui
6d1e5d2fc6
add shufflechannel test
6 years ago
tpoisonooo
d9018b0989
Fix chgemm ( #1480 )
* fix chgemm result dismatch
* fix misuse ldc as n
* fix gemm finished
* test conv_gemm_int8 and conv1x1_int8 passed
* format code
6 years ago
nihui
4914fc7a3d
pretty test error output
6 years ago
nihui
3f987808ca
add packing test
6 years ago
nihuini
cc006f230a
fix test concat crash
6 years ago
nihuini
5fbd56b12f
add innerproduct test
6 years ago
nihuini
e25eb87cfd
fix concat image vulkan, add concat test
6 years ago
nihuini
64ce9bc847
staging buffer has its offset
6 years ago
nihui
d21a9f99bb
fix tanh afp2sfpvec4
6 years ago