Commit Graph

449 Commits

Author SHA1 Message Date
chxin66 0d8ac3dc2b
Added gather_elements & unit test (#363)
Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-05-10 09:55:50 +08:00
chxin66 60cfea53a0
fix gather_element operation input num issue (#388)
Change-Id: Id2e685cf6993776e6674f528b71eb842420b16ad

 Author:    Xia Kaihong <kaihong.xia@verisilicon.com>
 Date:      Thu Apr 14 16:23:16 2022 +0800
2022-05-06 09:31:14 +08:00
Antkillerfarm c6847981e6
add macro VSI_EXPAND_BROADCAST_ENABLE_DIMENSIONS for unit test compatibility (#386) 2022-05-06 09:30:26 +08:00
chxin66 11572140d2
Fixed layout inference bug for stack (#375)
Signed-off-by: Chen Xin <jack.chen@verisilicon.com>
2022-05-05 17:18:09 +08:00
MESeraph eab0d807a6
Added Ceil & unit test (#381)
* Added Ceil & unit test

* Added Round & Unit test
2022-05-05 17:11:31 +08:00
chxin66 7a8ae32f73
Added topk & unit test (#384)
Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-05-05 17:06:39 +08:00
Zhouheng Zheng c09cdf79ad
fix bug of param num in custom op (#385)
ref to:https://github.com/VeriSilicon/TIM-VX/issues/378

Co-authored-by: zhouheng.zheng <zhouheng.zheng@ouotlook.com>
2022-05-05 17:04:38 +08:00
Sven 3f629d3910
Fix ci crash (#380)
* Update and rename cmake_x86_vsim_unit_test.yml to cmake_x86_vsim.yml

* Update README.md

* Update cmake_x86_vsim.yml

* Update README.md

Fix badge
2022-05-03 10:49:49 +08:00
lucklee 4bd0ce943b
add test demo for multi_device (#371) 2022-04-29 22:54:03 +08:00
Kainan Cha d108661a03
Update README.md 2022-04-27 13:14:23 +08:00
Antkillerfarm 3f2e67b65f
add macro VSI_EXPAND_BROADCAST_ENABLE_DIMENSIONS for ovxlib compatibility (#374) 2022-04-24 18:38:56 +08:00
Antkillerfarm dbb3631d4e
rename CopyTensorToData to CopyDataFromTensor to align name of tim::vx::Tensor (#373) 2022-04-24 13:36:51 +08:00
Sven cccd7860d6
CI enhancement - enable benchmark_model and samples (#372)
Added Clang build check with CMAKE
Added vx-delegate build and benchmark_model test for PR.
Added tim-vx/samples in ci
Save output from build for debugging purpose.
Parallel CI execution.

Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
2022-04-24 12:26:29 +08:00
chxin66 5c4800ab33
Fixed pad layout inference bug & added one stridedslice case (#370)
Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2022-04-20 21:44:43 +08:00
Sven b5c4514b94
Update operator support planw (#367)
Signed-off-by: ZhangXiang <Xiang.Zhang@verisilicon.com>
2022-04-19 11:38:07 +08:00
Antkillerfarm b916e1301a
Add Broadcast op (#365) 2022-04-18 15:45:15 +08:00
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