nihuini
cf853bd3ce
convert onnx gru rnn graph
5 years ago
Guoxia Wang
13d0bfcfd0
fix onnx2ncnn adaptive pool conversion bug, remove no used weights node ( #2570 )
5 years ago
nihuini
8790de3507
better onnx lstm fusion
5 years ago
nihuini
9b949d65b3
fuse onnx lstm, codeformat exclude pybind11, fix #2562
5 years ago
ncnnnnn
f1c19c1090
pooling_x86_unused_opt ( #2565 )
5 years ago
Guoxia Wang
609f63c57e
support PyTorch AdaptiveAvgPool2d and AdaptiveMaxPool2d ( #2546 )
* support pytorch adaptive pool
* support onnx2ncnn adaptive pool convert
* support ncnnoptimize adaptive pool param write
* fix adaptive pool out_shape order
* fix adaptive pool out_shape order, H and W can be either a int
add test case, set support_vulkan = false Pooling_vulkan::create_pipeline
* review adaptive pool
* fix typo
* add adaptive pool forward in pooling_x86.cpp pooling_arm.cpp
fix out_w, out_h id naming convention
* fix typo
* don't support packing, bf16, int8, image for adaptive pool
* Restyled by clang-format
* Restyled by astyle
* Restyled by clang-format
* Restyled by astyle
Co-authored-by: Restyled.io <commits@restyled.io>
5 years ago
nihui
21dc650eb3
check layer support ( #2564 )
5 years ago
Cai Shanli
a5560340e0
add python build ci ( #2550 )
fix build python with lastest ncnn
5 years ago
Zhuo Zhang
aac39e917f
fix mingw-x64 compilation for PC SIMD ( #2554 )
5 years ago
tpoisonooo
baf49574c4
innerproduct aarch64 use gemm ( #2521 )
* perf(innerproduct-arm): add aarch64 gemm
* fix(innerproduct): fix compilation errror
* fix(armv7-innerproduct): fix armv7 compilation error
* fix(innerproduct): fix gemm param
* fix(int8): update mock scales and fix runtime error
* fix(compilation): fix compilation error
5 years ago
nihui
ce7ac39a96
include arm82 on native macos arm64, supp fix
5 years ago
nihui
14d319db36
include arm82 on native macos arm64
5 years ago
Monkeyking
1a81be6259
doc: Update support platform and devices ( #2540 )
* Add [ MacOS -> apple-cpu/apple-gpu] into supported platform matrix
* Add [ mac -> apple] into 'device support vulkan' list
Co-authored-by: meow <826150766@qq.com>
5 years ago
nihui
54c0a13b9f
build shared library ( #2525 )
* build shared lib and enable lto
* reserved for layer and option
* allocator pimpl
* datareader pimpl
* paramdict pimpl, disable copy assign for allocator and datareader
* modelbin pimpl
* net extractor pimpl
* gpu pimple
* disable copy assign vulkandevice, code format
* command pimpl, dummy image readonly
* pipeline pipelinecache pimpl, export platform class
* code format, export simple family
* update ci
* disable lto on android armv7, merge webassembly ci
* link libgcc, fix macos dylib version
* pipeline pimpl, gpu info pimpl
* destroy gpu info after vulkan device
* ignore msvc stl class warning
* fix ncnn_paramdict_get_float return type
* fix vktransfer upload fp16 without flatten, add command test
5 years ago
Zhuo Zhang
a0a8c8e10a
fix typo in mat.h's comment ( #2537 )
* fix typo in mat.h's comment
* inplacc => inplace
5 years ago
Zhuo Zhang
0bade9e6d0
fix typo in cpu.h's comment ( #2538 )
5 years ago
Cai Shanli
bf845a6fe3
add python ( #2514 )
* add python
* check elempack when convert ncnn.Mat to numpy.ndarray
fix build with NCNN_STRING=OFF
5 years ago
nihuini
fbf0ffda53
pixelshuffle nhwc mode, convert onnx DepthToSpace mode DCR, convert mlir tf.DepthToSpace
5 years ago
nihuini
b35b06be6d
reorg nhwc mode, code format
5 years ago
nihuini
417b6874f8
fix onnx2ncnn printf format error
5 years ago
nihuini
aa695831f1
rewrite most mlir2ncnn node_reference and binary weight logic, convert tf.SpaceToDepth
5 years ago
nihui
82c4acc187
conv1x1s1 and packing pack4 x86 optimization, fix #2510 fix #2509
5 years ago
nihuini
1963672332
rewrite most onnx2ncnn node_reference and binary weight logic
5 years ago
nihui
25506cfba0
fix build
5 years ago
nihui
1040f40c8b
update c api for custom allocator datareader modelbin and layer registration, add cookie userdata to layer
5 years ago
nihui
2b7b92b726
update c api allocator
5 years ago
nihui
017440c1ca
update c api allocator
5 years ago
nihuini
27e9795198
update c api
5 years ago
nihuini
4114d333c9
low-level op api for C api
5 years ago
nihui
79efe33fdc
cmake option for platform api uses ( #2502 )
* cmake option for platform api uses
* adroid gpu ci does not rely on glslangvalidator, add android termux ci
5 years ago
nihui
343bc3b7dc
single blob consumer ( #2493 )
5 years ago
nihui
0f7b3b4461
aborted is not error, use skipped instead
5 years ago
Zhuo Zhang
fcf02ccd2a
add help message for simplepose example ( #2495 )
5 years ago
Zhuo Zhang
3c99287da5
fix src/net.cpp missing-field-initializers warning ( #2494 )
5 years ago
nihui
c324149709
ci vs2015 ( #2492 )
* add vs2015 ci
* build x86 binary
5 years ago
nihuini
cc773ec8e5
adapt mlir api changes
5 years ago
nihuini
5d40a42e2f
shorter blob name
5 years ago
maxfy1992
0f325d7910
add decrease unpack pack overhead ( #2489 )
Co-authored-by: yangfengmax <yangfengmax@didichuxing.com>
5 years ago
cavalleria
e6928dd7f1
add convolutiondepthwise/crop/sigmoid/tanh in operators.md ( #2484 )
* add convolutiondepthwise/crop/sigmoid/tanh in operators.md
* sort by alphabet
* delete impl_type
* cannot delete impl_type
* cannot delete impl_type
Co-authored-by: yaobin.li <yaobin.li@rokid.com>
5 years ago
nihuini
2b6213cc1e
link jnigraphics for android bitmap api
5 years ago
Cai Shanli
a9df4f6c59
add custom layer destroyer ( #2481 )
* add custom layer destroyer
* set default layer destroyer with 0
5 years ago
Zhuo Zhang
361847c827
check NCNN_MAX_PARAM_COUNT ( #2458 )
5 years ago
sunnycase
124d2c3d85
Support V831 ( #2478 )
5 years ago
nihuini
5650b77054
fix gpu extension conditions
5 years ago
nihuini
e2cb635a35
fix header install
5 years ago
nihui
1f44e5c6a3
enable ios arm64e ( #2475 )
* enable ios arm64e
* fix build with old vulkan sdk
* link vulkan loader on macos, fix ios moltenvk library path
* there is no moltenvk arm64e library atm, link moltenvk directly for macos-arm64
5 years ago
nihui
2b0b2fa388
enable more vulkan extensions, set subgroup size per vendor
5 years ago
nihuini
bd4f1ccb07
eltwise for vec and image, fix #2473
5 years ago
nihuini
38b6387bc5
ncnnoptimize and ncnn2mem now accepts weight-less custom layer
5 years ago
nihui
e93ad408c5
Ci release ( #2440 )
* package openmp and glslang together
* find glslang targets in lib64
* define version string
* update moltenvk
5 years ago