Commit Graph

383 Commits

Author SHA1 Message Date
chxin66 96dedc1453
Added selu & celu & unit test (#366)
Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-18 14:35:29 +08:00
Antkillerfarm 954d264108
add BroadcastInDim to internal expand_broadcast op (#364) 2022-04-18 13:59:18 +08:00
chxin66 eb21143987
Support specifying pad_mode in pad (#355)
https://github.com/VeriSilicon/TIM-VX/issues/307

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-14 19:55:47 +08:00
chxin66 479fc576ae
Suported specifying CRD_mode & DCR_mode in depthtospace (#362)
https://github.com/VeriSilicon/TIM-VX/issues/304

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-14 19:53:32 +08:00
chxin66 0dc38eac2e
Added unit test for maxpool (#361)
https://github.com/VeriSilicon/TIM-VX/issues/318

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-13 22:16:47 +08:00
lucklee 12746cb4d7
refine tim_internal.cmake for ovxlib vip (#360) 2022-04-13 22:14:32 +08:00
chxin66 93f20429ea
Fixed layout inference bug for stride_slice (#329)
Signed-off-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-13 10:12:37 +08:00
chxin66 ba6b311409
Added hardsigmoid test case with alpha and beta (#356)
https://github.com/VeriSilicon/TIM-VX/issues/306

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-13 10:10:30 +08:00
lucklee 1eaf326abf
update ovxlib virtual_device patch (#357) 2022-04-13 10:04:46 +08:00
chxin66 c033cfc582
Fixed compiler fail for elu (#358)
Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-12 18:42:50 +08:00
chxin66 e8ca6b8ee3
Added param step for slice & added unit test (#352)
Signed-off-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-12 15:42:58 +08:00
Zhouheng Zheng 20e27ed550
Update prebuilt and internal for 22Q1 release(#349)
update driver to REL/6.4.10.2
update internal to commit-id: 33cfb75b

Co-authored-by: zhouheng.zheng <zhouheng.zheng@ouotlook.com>
2022-04-12 15:18:45 +08:00
chxin66 d0af7ae8df
Support alpha in elu (#354)
https://github.com/VeriSilicon/TIM-VX/issues/305

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-11 19:04:30 +08:00
Zhouheng Zheng b4091318ea
fix buf of param init in custom op (#345)
Co-authored-by: zhouheng.zheng <zhouheng.zheng@ouotlook.com>
2022-04-06 17:21:54 +08:00
lucklee 70d2f410a8
support virtual vip devices (#331) 2022-04-06 13:05:38 +08:00
chxin66 1ca89d2ffa
Add layout inference & layout test for stack (#337)
* Added layout inference & layout test for stack

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-06 13:01:41 +08:00
Sven 8462f16dc0
OpenCV offical announcement with TIM-VX support (#341)
Signed-off-by: ZhangXiang <Xiang.Zhang@verisilicon.com>
2022-04-01 10:27:52 +08:00
Sven 171abb0f1b
Revert "composed Dense & added unit test (#312)" (#340)
This reverts commit f2e71a3deb.
2022-03-31 18:37:45 +08:00
Sven 18ce7b45fb
Enable handle support for new hardware (#334)
Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
2022-03-29 18:12:28 +08:00
Zhouheng Zheng d1b57e8eca
Add cmake option of custom op support (#335)
Co-authored-by: zhouheng.zheng <zhouheng.zheng@ouotlook.com>
2022-03-28 09:42:19 +08:00
chxin66 f2e71a3deb
composed Dense & added unit test (#312)
if shape is 3D or larger, implement it as reshape + fc + reshape

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-03-25 10:49:39 +08:00
Kee 53291e99cf
Add ArgMax/ArgMin unit tests (#333)
* Add ArgMax/ArgMin unit tests

https://github.com/VeriSilicon/TIM-VX/issues/330
2022-03-25 09:46:50 +08:00
Sven 097f8d74cd
Refine customized op support (#327)
Signed-off-by: ZhangXiang <Xiang.Zhang@verisilicon.com>
2022-03-22 23:00:52 +08:00
Sven 5bab9964e9
Refine README.md with success stories (#328)
Signed-off-by: ZhangXiang <Xiang.Zhang@verisilicon.com>
2022-03-22 22:59:52 +08:00
Sven 08500158ba
Fix build error with clang (#326)
Signed-off-by: ZhangXiang <Xiang.Zhang@verisilicon.com>
2022-03-22 14:51:12 +08:00
Sven 6412bd4ea5
Add customized operator document (#323)
Signed-off-by: ZhangXiang <Xiang.Zhang@verisilicon.com>
2022-03-18 10:08:27 +08:00
Dahan Gong aaaeda1846
doc: fix some comments (#322) 2022-03-17 12:21:20 +08:00
Kee 2a8936dfed
Added unit test for batch2space and space2batch (#321) 2022-03-15 21:25:01 +08:00
Zhouheng Zheng 4d5013edf9
wrapper public ovxlib api (#320)
Co-authored-by: zhouheng.zheng <zhouheng.zheng@ouotlook.com>
2022-03-15 21:24:15 +08:00
Zhouheng Zheng b02aa8b8c4
Added customize operator APIs(#315)
Co-authored-by: zhouheng.zheng <zhouheng.zheng@ouotlook.com>
2022-03-09 12:10:08 +08:00
Zhouheng Zheng 161bb8a7c4
Pre-release for 22Q1 (#302)
update internal to commit-id: d45da6fa

Co-authored-by: zhouheng.zheng <zhouheng.zheng@ouotlook.com>
2022-03-01 17:56:03 +08:00
Sven e63059857b
Update reshape to reshape2 (#310)
Update built-in op reshape to reshape2

Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
2022-03-01 17:04:02 +08:00
Sven c8a25d32ad
Relax tolerance for div_uint8 case (#303)
* Relax tolerance for Div.shape_5_1_broadcast_scale_uint8
* Add tolerance for div uint8

Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
2022-03-01 10:54:56 +08:00
chxin66 3decff5398
Added unit test for STACK (#298)
Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-02-23 22:04:54 +08:00
chxin66 242a6bd05a
Add pad value for grouped_conv1d (#292)
https://github.com/VeriSilicon/TIM-VX/issues/284

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-02-21 19:11:36 +08:00
liyuenan fe31a47bf9
enable no bias in FC layout inference (#294)
Signed-off-by: yuenan.li <yuenan.li@verisilicon.com>

Co-authored-by: yuenan.li <yuenan.li@verisilicon.com>
2022-02-21 19:09:38 +08:00
Sven 6e0ac09c92
Relax tolerance for Div.shape_5_1_broadcast_scale_uint8 (#296)
Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
2022-02-21 18:34:44 +08:00
robert-kalmar 51a3d8ce36
Install headers to place defined by CMAKE_INSTALL_INCLUDEDIR variable (#291) 2022-02-21 10:20:38 +08:00
yingshengBD f80e1b196f
Fix compile error in g++5.4 (#286) 2022-02-11 08:20:05 +08:00
Sven 7c1a00213b
[New API] Add compile_option support - relax_mode (#285)
Added new API for tim::vx::Context::CreateGraph with a CompileOption

Only one option added in CompileOption:
    relax_mode : Run float32 mode with bfloat16

Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
2022-02-09 10:52:11 +08:00
SHagerAT80 1c5302ba51
Enabled bulding with buildroot toolchain. (#281) 2022-01-28 13:12:22 +08:00
Sven 86fcb0d0e0
Fix build error with gcc 6.2.0 (#282)
Signed-off-by: ZhangXiang <Xiang.Zhang@verisilicon.com>
2022-01-27 11:42:12 +08:00
Sven 19e4e86651
Support NPU access large memory > 4G (#280)
Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
2022-01-26 16:00:14 +08:00
chxin66 9fdba427f7
Integrate benchmark test of conv2d and depthwise conv2d (#276)
Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-01-21 15:32:23 +08:00
chxin66 3b11a6a5b2
Added a matmul unit_test for issue 271 (#278)
https://github.com/VeriSilicon/TIM-VX/issues/271

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-01-19 22:35:44 +08:00
chxin66 32308f62c5
Add softmax unit test (#274)
https://github.com/VeriSilicon/TIM-VX/issues/266

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-01-19 14:54:39 +08:00
Sven a02900d135
Fix regression introduced by V1.1.37 update (#275)
Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
2022-01-18 11:36:09 +08:00
Sven 04cd392b7e
Refine readme (#273)
Signed-off-by: ZhangXiang <Xiang.Zhang@verisilicon.com>
2022-01-17 18:22:39 +08:00
Sven e6eeb5dbee
Update component diagram and README.md (#269)
Signed-off-by: ZhangXiang <Xiang.Zhang@verisilicon.com>
2022-01-17 01:13:20 +08:00
onepick 7fa5223943
Disable float32 to float16 conversion by default(#267)
Disable conversion since this will impact the precision. User should enable this conversion explicitly.

Signed-off-by: Jia <juku.jia@verisilicon.com>

Co-authored-by: Jia <juku.jia@verisilicon.com>
2022-01-14 17:18:16 +08:00