Elffuss BraidHub

kikocis/ncnn public

master · 599 BRenderedRawPermalink
1
2the typical usage
3```
4ncnnoptimize mobilenet.param mobilenet.bin mobilenet-opt.param mobilenet-opt.bin 65536
5```
6
7operator fusion
8* batchnorm - scale
9* convolution - batchnorm
10* convolutiondepthwise - batchnorm
11* deconvolution - batchnorm
12* deconvolutiondepthwise - batchnorm
13* innerproduct - batchnorm
14* convolution - relu
15* convolutiondepthwise - relu
16* deconvolution - relu
17* deconvolutiondepthwise - relu
18* innerproduct - relu
19
20eliminate noop operator
21* innerproduct - dropout
22* flatten after global pooling
23
24prefer better operator
25* replace convolution with innerproduct after global pooling