nihuini
bbda536e58
dummy buffer and image make life easier :)
6 years ago
nihuini
aafe957e8f
condition fix for binary broadcast special type 2 4
6 years ago
zhiliu6
2a97606239
darknet2ncnn: Add merge output option. ( #1743 )
* darknet2ncnn: Add an option, which is enabled by default, to merge all yolo output into one layer. The convert result is compatible with yolov3 example and can be used in benchmark.
6 years ago
nihuini
b9e9b99e56
reuse device packing and unpacking, noop test, fix packing test
6 years ago
nihui
9a9a618229
image storage is mandatory, less options makes life easier
6 years ago
nihuini
041437ef48
seperate packing cast type to more shaders
6 years ago
zhiliu6
585480220f
Add darknet to ncnn converter with YOLOv4 support. ( #1740 )
* Add darknet to ncnn converter with YOLOv4 support.
* darknet2ncnn: add copyright info, fix clang compatibility
* fix wrong target
* darknet2ncnn: compatible with clang++ 9.0.0
6 years ago
ZhangCY
8a3e9189df
mxnet2ncnn support list args in attrs ( #1741 )
Co-authored-by: zcy6735 <zcy6735@arcsoft.com.cn>
6 years ago
nihuini
ab7fa0c48a
fix staging download
6 years ago
nihui
e8688b042f
fuse packing cast storage, binaryop image shader, dummy buffer and image, device-wide utility packing converter operators, fix multi-blob layer test
6 years ago
zhiliu6
bd55ddcf0d
Add mish layer ( #1733 )
* add mish layer
* add mish test
6 years ago
nihui
62da1228e1
adreno image shader + fp16 + fp16a ( #1714 )
* wip
* wip
* fix
* image and imageview can not be destroyed until command execution ends
* fast copy path for tightly packed data
* wip
* texture load works
* 1d 3d image
* record clone image, multiple commands share one image reference
* upload download image
* layer forward accept vkimagemat
* vkimagemat graph works
* staging vkimagemat for passing dynamic parameters, macro for fp32+image shader, padding image shader
* vkimagemat elemsize
* convolution test pass
* conv1x1s1 image shader
* fast staging image allocator from host memory, pooling image shader
* convolutiondepthwise image shader
* innerproduct image shader
* packing image shader
* crop deconvolution image shader
* resolve spirv binding types
* image fp16 and fp16a, cast image shader
* eltwise image shader
* wip
* absval image shader
* deconvolutiondepthwise image shader
* concat image shader, squeezenet works
* noop split image shader
* uniform precision hint
* layer support_image_storage
* wip
* vulkan device utility operator
* command is storage and packing option aware
* fallback to cpu on image allocation failed, mobilenetssd works
* flatten image shader, enable more test
* ci test
* check imgfp32 imgfp16 imgfp16a features
* fix ci test
* fix ci test
* upgrade swiftshader
* wip
* opt aggressive
* imgfp16p
* opt none
* convolution winograd image shader
* fix flush range, fast copy path for continous buffer
* minor fix
* fix innerproduct
* wip ...
* wip
* cast fix
* packing test
* wip
* image fp16p is fp16p
* wip
* silence
* more line info
* code clean
* softmax image shader
6 years ago
Cheng Yu
85d99c9c6a
Update crop.cpp ( #1730 )
Fix a bug in crop.cpp which may cause failure to crop layer
6 years ago
nihuini
b2d9325c0d
test activation fusion
6 years ago
nihuini
bb7202fb52
add missing sigmoid activation in innerproduct arm, fix #1716
6 years ago
Xu Yang
3a34b99fe6
fix layer pooling when elemsize is 1 ( #1705 )
6 years ago
雾雨魔理沙
e49a9ec736
fix #1701 , #1697 ( #1702 )
* fix #1701 , #1697
* Update CMakeLists.txt
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
nihuini
71352ec39d
interp packing, bf16s, packing bf16s neon kernel
6 years ago
nihuini
5580da4525
bump engine version
6 years ago
nihuini
620ed7d8a8
fix conv3x3s1 pack1to4 bf16s
6 years ago
nihuini
956ab49d02
fix conv1x1s1 pack4to1 bf16s
6 years ago
mengfu188
d06606b0cd
Tiny fix mxnet2ncnn tool ( #1691 )
6 years ago
nihuini
36f6942fa0
testing time is too long ...
6 years ago
nihui
18328f63e6
fix arm bf16 test conditions, fix unused warning in crop arm
6 years ago
nihui
979dd5fd11
test does not need to provide data type options
6 years ago
nihui
d85b2bc285
enable packing_layout by default
6 years ago
nihui
88872f8ac3
fix int64 overflow, fix #1670
6 years ago
nihui
7365bb80a2
vkmat and command api breaks ( #1689 )
* vkmat and command api breaks
* always use compute queue for compute buffer transfer
* no barrier for readonly weight buffer
* record clone, drop queue_owner
* bring back layer forward
* fix validation errors
* lifecycle inside command makes life easier
* update doc
* record_import_android_hardware_buffer
6 years ago
nihui
043a8f1ac1
add yolact example, fix #1679
6 years ago
nihuini
1469bc8b19
reclaim immediately after submitting, so we don't block the queue access during the long-time waiting fence, fix #1682
6 years ago
nihuini
0ae11b6e4a
deepcopy layer
6 years ago
nihuini
f5e52e1bae
codecov is much better, drop coveralls.io
6 years ago
nihuini
a05b97a430
dropout prelu scale gpu test
6 years ago
nihuini
17bf5247cc
visualize Mat
6 years ago
nihuini
9f3af60b3a
dropout prelu scale test
6 years ago
nihui
163e2c0655
Travis ci armv7 ( #1680 )
* try checkout v2 to resolve some ci issue
6 years ago
nihuini
85d5e5d3e4
fix innerproduct vulkan pack8 and arm neon, disable packing_layout for int8 test
6 years ago
nihuini
32a9a489bc
fix flatten vulkan fp16p image pack1to4 and pack1to8
6 years ago
nihuini
6077066b02
binaryop broadcasting special type 3 4 for lhs
6 years ago
nihuini
8e415348ee
to_pixels family arm neon optimize
6 years ago
nihui
e344e3cde6
drop VkMat range reference for potential alignment issue
6 years ago
nihuini
69b7683d0e
adapt api changes
6 years ago
nihuini
1ea9de3bdf
create shader pipeline by type index, resolve binding count and push constant count from spirv. since we don't create compound shader module for macos and ios compatibility, it is enough to use fixed main as the shader entry point
6 years ago
nihuini
ee118e7d70
reconstruct import android hardwarebuffer api, wip
6 years ago
kalcohol
8fecf1989e
add vs src group ( #1659 )
* add vs src group
* check condition first
6 years ago
nihui
f22e5d4a6d
fix build
6 years ago
nihui
3cd7a30172
shufflechannel bf16s
6 years ago
nihui
90e6be457b
conv1x1s1 bf16s neon kernel
6 years ago