nihuini
80bd7587e6
fuse normalize for simplified onnx
5 years ago
nihuini
d92e71722d
improve compability with onnx resize opset 10
5 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
nihuini
adf7736d8f
fuse onnx swish
6 years ago
nihuini
1c4d5bebc8
onnx Sub is BinaryOp
6 years ago
daquexian
949f6a4880
Fix bug of get_node_attr_from_input_ai ( #1699 )
6 years ago
nihuini
22f4212128
improve onnx hardsigmoid hardsiwsh fusion for fbnet
6 years ago
nihui
88872f8ac3
fix int64 overflow, fix #1670
6 years ago
nihuini
3cbdd077e9
sometimes binaryop weight is missing in graph nodes, fix #1640
6 years ago
nihui
f3b39a3b4f
improve onnx hardsigmoid hardswish fusion, fix #1650 , ignore mips ci failure
6 years ago
nihuini
253e505765
improve compatibility with onnx slice opset version 10+
6 years ago
nihuini
9b09cc16b5
fix compability with onnx clip opset11, fix #1609
6 years ago
nihui
14b8b68c2c
onnx lstm ( #1613 )
* lstm with direction
* convert onnx lstm
* lstm works
6 years ago
nihui
9929d52885
less duplicated code for crop layer, slice axes starts from 0
6 years ago
nihuini
be3f978770
fix onnx opset11 Pad conversion, improve Resize conversion, fix #1556
6 years ago
nihui
30c2954160
fuse onnx pixelshuffle
6 years ago
Anton Kochkov
07170542c9
Fix GCC 9.x warnings ( #1462 )
6 years ago
nihuini
84a5d5a502
improve onnx shufflechannel compability with torchvision model
6 years ago
nihuini
5eae1b8325
always write normalize scale data, do not break optimize tool
6 years ago
nihuini
af3643ed81
normalize eps mode for different training framework conventions
6 years ago
nihuini
c95e7bbb3c
onnx fuse flatten
6 years ago
nihuini
253e54351d
onnx fuse normalize, first try
6 years ago
nihuini
e5a834b299
do not fuse weight reshape
6 years ago
nihuini
66b8a7ee36
fuse onnx unsqueeze-prelu
6 years ago
nihuini
6ce5da28a0
convert onnx pooling ceil_mode
6 years ago
Guoxia Wang
4336cc15f7
fix bug that MemoryData as multi operations input ( #1357 )
* fix onnx2ncnn MemoryData dims problem #1330
* fix ncnn2int8 bug (see #1336 )
* fix bug that MemoryData as multi operations input
* fix ncnn2table find_blob_index_by_name data failed bug, see #1338
* fix ncnn2table find_blob_index_by_name data failed bug, see #1338 , fix change requested
6 years ago
nihuini
d5d7886517
resolve onnx Split conversion with empty split attribute
6 years ago
Guoxia Wang
51bca0b718
fix onnx2ncnn MemoryData dims problem #1330 ( #1331 )
6 years ago
nihuini
517d1b2053
improve compability with megvii shufflenet model
6 years ago
nihuini
e8bb88830d
convert mxnet squeeze expanddims, convert onnx squeeze unsqueeze
6 years ago
nihuini
a6c60068e6
convert numpy style slice to crop
6 years ago
bindog
04b4b02324
[WIP] add reduce op support for onnx ( #1308 )
* [WIP] add reduce op support for onnx
* extend reduction to support 1,2-dim reduction and keepdims
* fix compile error
* split type to 3 flags && split keepdims to another function
6 years ago
bindog
53d54115a8
add split op support for onnx2ncnn ( #1299 )
6 years ago
nihuini
c3eea4cc0b
fuse onnx unsqueeze-batchnorm-squeeze as batchnorm
6 years ago
nihuini
7d3ebe2d69
%g may output number without dot, stick to %e
6 years ago
nihuini
d67d2531ae
convert some well-known noop, printf %g to preserve precision
6 years ago
nihuini
296e0022df
deconvolution output adj and output shape
6 years ago
nihuini
0e26e3094e
autopad SAME_LOWER
6 years ago
nihuini
18833c9286
convert asymmetric pad parameter
6 years ago
nihuini
f5ca997a66
fuse x * hardsigmoid to hardswish
6 years ago
nihuini
46bfb4bca9
write hardswish parameter
6 years ago
nihuini
da6a42ed96
fix onnx2ncnn build
6 years ago
nihuini
012fdd46de
convert onnx hardsigmoid hardswish, op chain fusion code reconstructed
6 years ago
nihuini
eced73c186
convert mxnet onnx pooling count_include_pad
6 years ago
Howave
ac60acfad0
Fix for onnx2ncnn Div op ( #1187 )
6 years ago
nihuini
1b910efea5
convert slice properly
6 years ago
nihuini
ad9e0a9725
read reshape shape data from raw_data, fuse onnx reshape-transpose-reshape to shufflechannel
6 years ago