Commit Graph
11 Commits
Author SHA1 Message Date
nihui fca04980f3 enhance padding test (#2580)
* workaround nvidia driver crash
* workaround radv buffer_ld1 zero bug
* fix offset elempack
2021-01-11 14:58:28 +08:00
nihui be49c07e93 fix arm82 fp16s crop padding 2020-11-29 15:56:21 +08:00
nihui e68f15d2f0 padding vulkan vec and image, more padding test 2020-11-29 14:46:40 +08:00
nihui 71272d1b99 more padding test 2020-11-26 23:10:34 +08:00
nihui 11cffce114 armv8.2 infrastructure (#1856)
* runtime cpu dispatch

* force thread one

* disable openmp for coverage

* simplify test layer

* print NCNN_TARGET_ARCH

* less ci build variants

* weight fp16 storage option

* test convdw int8

* apple a12 a13

* ncnn_add_layer ncnn_add_shader cmake macro
2020-07-19 19:29:52 +08:00
nihui 3ef995ed1e format code style and setup restyled.io (#1840) 2020-06-13 22:17:51 +08:00
Tijmen Verhulsdonck da09e5e7f1 Adding channel padding support for blazeface model. (#1826)
* Add channel padding and blazeface model support.

* remove python binding

* remove std::min usage

* fix reference blob usage

* Increased padding test  coverage

* implement requested changes
2020-06-09 19:25:40 +08:00
nihui 979dd5fd11 test does not need to provide data type options 2020-04-12 19:28:04 +08:00
nihui 0f7e7bca02 shader shape specialization constant and basic local group size partition (#1523)
* use Mat class for Shape description

* shape specialization constant in compute shader

* wip

* wip

* test forward_inplace, add binaryop unaryop sigmoid test

* fix arm unaryop test

* fix arm binaryop test

* make shape hint optional, cast int8 to fp32, add cast test

* wip

* follow the good and old local size setting for conv1x1

* the optimal local size rewrite

* fix build on msvc

* add permute shader for all packing layout, add permute test

* concat and slice patial shape constant, slice test

* fix slice test

* interp test

* add lrn test, test packing layout implicitly

* add eltwise test

* add normalize test

* add instancenorm test

* reorg shape constant

* simple local group size partition

* add shape constant param
2020-02-17 15:45:29 +08:00
nihuini 2f16eaa476 fix padding test per channel pad value 2020-01-10 17:53:01 +08:00
nihuini c78b8a08fd padding reflect pack4, add padding test 2020-01-10 17:37:15 +08:00