nihui
a5b846371a
fix adaptive pooling vulkan, second try
4 years ago
Wang Kangyu
53040f566b
use int ceil/floor div ( #3333 )
4 years ago
nihuini
514770a37e
fix adaptive pooling vulkan
4 years ago
nihuini
80f2138b0c
fix adaptive pooling
4 years ago
nihuini
a490f8a533
fix layernorm with affine
4 years ago
Tijmen Verhulsdonck
ac5dc23ccc
added a number of optimized sse layers ( #3302 )
* added a number of optimized sse layers, specifically to increase performance of mobilenet style networks
4 years ago
zhiliu6
a08f700775
Optimize avx convolution activation ( #3299 )
* use general fmadd
* forceline x86 fmadd for better performance
* fix msvc compile warning
* simplify swish implementation
* Use activation layer for better performance
* Optimize x86 ConvolutionDepthWise activation
4 years ago
zhiliu6
814f89ef1a
Fuse HardSwish activation into Convolution and InnerProduct ( #3233 )
* add general fused activation
* add NCNN_FORCE_INLINE option
4 years ago
nihui
4313d23355
update ci swiftshader 20211002 ( #2366 )
* build macos vulkan
* drop rt
* load swiftshader
* workaround swiftshader fltmax fp16 nan
Co-authored-by: zhuo@mbp <imzhuo@foxmail.com>
4 years ago
Tijmen Verhulsdonck
4270b5c502
Fix broken codepaths with AVX only ( #3254 )
* Fix codepaths for fp16 weights when only AVX is enabled
* Disable opt overrides
* Update SDK url
* Update vulkan SDK download version
* Debugging risv pad
* apply code-format changes
* fix padding test
* fix mips slice test
* fix lrn test
* implement mish swish image shader, fix pooling adaptive image storage support, drop debug output
* update ci ubuntu 18.04
Co-authored-by: nihui <shuizhuyuanluo@126.com>
4 years ago
nihui
57ad2c138c
fix build on c906, fix #3230
4 years ago
nihui
ceec22cd46
Update convolution_riscv.cpp ( #3050 )
4 years ago
Xavier Hsinyuan
a2f89e7392
RVV fp16/fp32 optimized Dropout, GRU and Softmax ( #3200 )
* RVV optimzied DropOut
* RVV optimized GRU, fp32
* RVV optimized GRU, fp16
* RVV optimzed Softmax
4 years ago
nihui
e9b5bbcd2d
fix armv7 roundmode ( #3176 )
5 years ago
yaobyPerfxlab
ec561736a5
Riscv64 c906 d1 ( #3159 )
* Use RVV spec 0.7.1 for C906.
* Fix code style issue.
* Update convolution_sgemm_packn_fp16s.h
RVV_SPEC_0_7 update
* apply code-format changes
Co-authored-by: Zhang Xianyi <xianyi@perfxlab.com>
Co-authored-by: yaobyPerfxlab <yaobyPerfxlab@users.noreply.github.com>
5 years ago
nihuini
a99cc13611
ncnnoptimize generate proper weight for int8 scales, fix non-neon innerproduct int8, fix #3157
5 years ago
nihui
c6cda8d07c
arm neon optimization for requantize leakyrelu ( #3144 )
* arm neon optimization for requantize leakyrelu
* add missing changes
* Update test_requantize.cpp
* more test coverage
5 years ago
nihui
da7b64b833
fix build on c906
5 years ago
nihuini
b9460c6e8f
fix armv7 requantize relu, fix #3122
5 years ago
Xavier Hsinyuan
2a5c672787
Add unittest and RVV optimized for SELU ( #3114 )
5 years ago
Xavier Hsinyuan
d78add2acd
RVV optimized PReLU, with fp16 support ( #3113 )
5 years ago
nihui
f9a16ea1ec
fix build on c906
5 years ago
Xavier Hsinyuan
9933cc776a
RVV optimized HardSwish and HardSigmoid ( #3108 )
* RVV optimized HardSwish, with fp16 support
* RVV optimized HardSigmoid, with fp16 support
* apply code-format changes
Co-authored-by: thelastlin <thelastlin@users.noreply.github.com>
5 years ago
nihui
d91cccfb55
apply code-format changes
5 years ago
Xavier Hsinyuan
99440e67f7
RVV optimized binaryop, with fp16 support ( #3097 )
5 years ago
nihui
2c4ae09604
fix #2961 ( #3095 )
5 years ago
lsdustc
61af40cfbd
Fix Innerproduct gemm forgot to add an offset of w in int8 forward ( #3084 )
5 years ago
nihui
cdf45a6512
cmake option NCNN_BF16 ( #3068 )
5 years ago
Tijmen Verhulsdonck
eaa7e24db6
Added ability to switch AVX/AVX2 during runtime ( #3076 )
5 years ago
nihui
9391fae741
optimize arm neon tanh ( #3079 )
5 years ago
deepage
5841f667a6
optimize arm neon tanh fma ( #3078 )
Co-authored-by: chao.tang <chao.tang@lynxi.com>
5 years ago
nihui
06a7086daa
optimize arm neon exp log sincos fma ( #3077 )
5 years ago
Tijmen Verhulsdonck
a7f301a99d
Add clang compatiblity ( #3071 )
* Add clang compatiblity
Add ability to build NCNN lib on windows with clang GNU
* Restyled/pull 3071 (#16 )
* [skip ci] Restyled by clang-format
* [skip ci] Restyled by astyle
* [skip ci] Restyled by clang-format
* [skip ci] Restyled by astyle
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Restyled.io <commits@restyled.io>
5 years ago
nihui
927e34278c
mips msa optimization part2 ( #3063 )
* mips msa optimization for convolution 3x3 pack1to4, 7x7s2 pack1to4, dropout, eltwise, hardsigmoid, hardswish, packing, flatten, prelu
* prefetch convdw3x3 and convdw5x5
* fix mips convolution sgemm pack4to1
* more prefetch helps
5 years ago
nihui
49cda73420
mips msa optimization for convolution sgemm and winograd ( #3055 )
* mips msa optimization for convolution sgemm and 3x3s1 winograd, use msa fmadd
* mips msa optimization for convolution sgemm pack4to1
* mips msa optimization for swish, improve sgemm kernel
* unroll 12x4, use prefetch
5 years ago
nihui
8a40b98348
mips optimization ( #3051 )
* mips msa optimization for crop deconvolution deconvolutiondepthwise general cases
* mips msa activation support pack4
* mips msa optimization for concat slice interp
* mips msa optimization for binaryop unaryop
5 years ago
nihui
90b38ba145
fix mips convolutiondepthwise
5 years ago
nihui
a133f4be92
mips msa optimization for pooling general cases, fix test on ls2k
5 years ago
nihui
1f49fc4b67
mips msa optimization for padding packing flatten innerproduct convolution convolutiondepthwise general cases
5 years ago
nihui
f2d2a6d51b
drop fprintf
5 years ago
nihuini
e63bb1f79e
riscv v optimization for convolution 3x3s1 3x3s2 7x7s2 pack1ton
5 years ago
nihui
589609b37a
fix test on c906
5 years ago
nihuini
41a64e5efe
riscv v optimization for convolution sgemm pack1ton packnto1
5 years ago
nihui
b2e8a8d87d
split noop support riscv zfh
5 years ago
nihui
4f135e07bf
implement convolution1d and pooling1d ( #3035 )
* implement convolution1d and pooling1d
* add conv1d pool1d test
* fuse convolution1d activation
* update operator doc
* fix vulkan adpative pooling
5 years ago
nihuini
e526934a48
riscv v optimization for convolutiondepthwise 3x3 5x5 packn
5 years ago
nihui
abd0b26994
fix test on c906
5 years ago
nihuini
44e60b8dd9
fix over allocated workspace blobs for fp16sa in convolution sgemm rvv
5 years ago
nihuini
400aa23e57
riscv v optimization for convolution sgemm pack1
5 years ago
nihuini
e9a7b5ac96
riscv v optimization for convolution 3x3s1 packn winograd42 and winograd64
5 years ago