Evgeny Proydakov
3d7feb7cce
Fixed compile warning for clang linux onnx2ncnn.cpp [-Wformat] ( #2185 )
5 years ago
Evgeny Proydakov
ecc63a6d52
Fixed compile warning for macos in caffe2ncnn/onnx2ncnn (-Wdeprecated-declarations) ( #2180 )
5 years ago
Evgeny Proydakov
b93775a272
Fixed compile warning for macos clang in onnx2ncnn (-Wformat) ( #2175 )
5 years ago
Evgeny Proydakov
a5b8ca8502
Fixed compile warning for macos in caffe2ncnn (-Wformat) ( #2162 )
5 years ago
nihuini
7b5b829143
adapt mlir api changes
5 years ago
nihui
2384fad8e0
recognize more binaryop with constant
5 years ago
nihuini
3a4d716db4
onnx2ncnn fuse pixelshuffle downsample to reorg
5 years ago
nihuini
d5f2220ee7
fuse onnx groupnorm
5 years ago
nihuini
cd7f59d25b
adapt mlir dialect registration changes
5 years ago
youzainn
266382a832
fix cmake 3.5.1 config error ( #2067 )
* fix cmake 3.5.1 config error
* fix ubuntu16.04 build error
5 years ago
youzainn
3b1b41ec0b
Add some compile options, add vulkan dependency export ( #2062 )
* vulkan cmake export templete
* 1) vulkan cmake dependency export. 2) support opencv_world import. 3) add BUILD_WITH_STATIC_CRT option
* Threads dependency
* NCNN_BUILD_WITH_STATIC_CRT option
* we do not support cmake before version 3.15 for option NCNN_BUILD_WITH_STATIC_CRT
5 years ago
ruru5697
e58a35aa65
fix darknet2ncnn maxpool padding size ( #2038 )
* fix maxpool padding size
* restyle
5 years ago
Zhuo Zhang
0fc5ee1383
fix #2056 ( #2057 )
5 years ago
nihuini
63247a32a7
mlir fix keras conv2d dense bias, fix pooling type
5 years ago
nihuini
6a15cb1a0e
mlir fuse keras conv2d dense
5 years ago
nihuini
d279e1f514
mlir fuse instancenorm without affine
5 years ago
nihuini
78580dc648
sync tf dialect, mlir fuse instancenorm
5 years ago
nihuini
ea17a46b34
fuse memorydata split binaryop
5 years ago
nihui
1cb55454eb
fix onnx2ncnn resize crash with optional sizes
5 years ago
nihuini
7b3ab5024d
convert to gemm layer
5 years ago
nihuini
4b470949c2
update tf2 dialect, adapt new mlir api, convert tf.Maximum tf.Minimum tf.ResizeBilinear
5 years ago
nihuini
01d9ebf115
sometimes mxnet use either scalar or array in one attribute value, #1976
6 years ago
zchrissirhcz
7d2c3247bc
fix #1941 darknet2ncnn maxpool out_w issue ( #1972 )
* fix #1941 darknet2ncnn maxpool out_w issue
* fix typo caused build fail
* fix opencv4 c++11 flags in example folder
6 years ago
zchrissirhcz
b80b84fda5
fix #1542 ; fix avx2 uint16_t including ( #1968 )
* fix #1542 ; fix avx2 uint16_t including
for #1542 , it is for compatibility for opencv 2.x, such as on ubuntu 16.04 apt installed opencv
6 years ago
Tijmen Verhulsdonck
a3f7d2d520
Fix padding in ncnnoptimize not outputting all the params ( #1944 )
6 years ago
nihui
02e880fc42
fix concatv2 axis
6 years ago
nihuini
80bd7587e6
fuse normalize for simplified onnx
6 years ago
nihuini
d92e71722d
improve compability with onnx resize opset 10
6 years ago
nihuini
00ef566609
implement full permute tag support for reshape
6 years ago
nihuini
b2b86fea16
convert tf.ResizeNearestNeighbor
6 years ago
nihui
afb09cccbb
build mlir2ncnn with latest mlir with updated tf2 dialect ( #1925 )
6 years ago
nihui
46c6f3a4a2
hmmm, mlir need c++14 anyway
6 years ago
nihui
cfcee2298d
mlir2ncnn requires c+11
6 years ago
zhiliu6
cdbff653b8
Add yolov4 example option. ( #1913 )
* Add yolov4 example option.
Add yolov4-tiny for benchmark.
* Restyled by astyle
* Restyled by clang-format
* Restyled by astyle
Co-authored-by: Restyled.io <commits@restyled.io>
6 years ago
nihui
6e340f5e79
MLIR converter ( #1810 )
* tf2sb
* wip
* wip
* concat maxpool avgpool
* StridedSlice
* handle stridedslice mask
* convert mlir deconvolution
* convert deconvolution output shape
* convert tanh
* code format
6 years ago
zhiliu6
0bc45eed52
Support yolov4-tiny conversion. ( #1893 )
* Support yolov4-tiny conversion.
Add darknet2ncnn readme.
Add yolov4 example.
* Restyled by clang-format
* Restyled by astyle
* Restyled by clang-format
* Restyled by astyle
Co-authored-by: Restyled.io <commits@restyled.io>
6 years ago
nihuini
bcf982cc9d
fuse onnx gather after shufflechannel into split
6 years ago
nihuini
294b5b6e99
onnx fuse reverse style shufflechannel
6 years ago
nihuini
9238682778
onnx slice axes steps can be optional, #1850
6 years ago
nihui
3ef995ed1e
format code style and setup restyled.io ( #1840 )
6 years ago
mengfu188
f09ac067a5
update quantize doc ( #1831 )
6 years ago
JackieWu
ce2251db05
Improve ROIAlign (accelerate ROIAlign, support sampling ratio and aligned ROIAlign) ( #1820 )
* update roialign
* update tool for roialign
* fix ceil for roialign
* fix ios build
* fix
* fix
* make it compatibile with the old version
* fix ios build
* trigger CI
* fix test
* order
* build
* remove code
* merge roialign
* accelerate ROIAlign
* update note
* rename func
* roialign version
* trigger CI
* fix roialign
* use ref for pre-calc in roialign
* retrigger CI
* pre-alloc
6 years ago
zhiliu6
63d7e2c88d
Add support for darknet EfficientNetB0-Yolov3 conversion. ( #1821 )
* fuse mish and depthwise convolution
* darknet2ncnn: support enet-coco conversion.
6 years ago
nihuini
adf7736d8f
fuse onnx swish
6 years ago
zhiliu6
3bfabf1d6a
Add fused convolution and mish layer support. ( #1761 )
6 years ago
Guoxia Wang
7add0ea94e
fix ncnn2mem.cpp param bin save path ( #1766 )
6 years ago
nihuini
092d529d66
fuse rsub rdiv with scalar
6 years ago
nihuini
1c4d5bebc8
onnx Sub is BinaryOp
6 years ago
Naiyang Lin
ceef2470a5
Add logger.h ( #1753 )
6 years ago
nihuini
e6a04d1535
fuse_memorydata_binaryop fuse_binaryop_eltwise
6 years ago