Commit Graph

11 Commits

Author SHA1 Message Date
nihui 171b9d1bba use spdx license header, copyright Tencent (#6152) 2025-07-08 11:01:29 +08:00
nihui 0736c5b658 Fix c api allocator (#4360)
* add some c_api interfaces related to allocator setup.

* fix errors in allocator parameters in c_api.

* test c api allocator

Co-authored-by: zhangtongshe <yuyuyezi@vip.qq.com>
2022-11-21 11:03:46 +08:00
nihui 33e225f173 fix c api test 2022-01-21 22:41:07 +08:00
nihui aa9753b2f0 detach mat from local blob allocator so net instance could be destroyed much earlier (#3287) 2021-10-16 10:22:10 +08:00
nihuini f1533667ff fix test_c_api net instance destroyed earlier than blob destruction 2021-07-19 18:43:30 +08:00
nihuini b35b06be6d reorg nhwc mode, code format 2020-12-29 18:57:48 +08:00
nihui 1040f40c8b update c api for custom allocator datareader modelbin and layer registration, add cookie userdata to layer 2020-12-26 19:22:24 +08:00
nihui 2b7b92b726 update c api allocator 2020-12-25 23:22:31 +08:00
nihui 017440c1ca update c api allocator 2020-12-25 23:10:49 +08:00
nihuini 27e9795198 update c api 2020-12-25 20:05:39 +08:00
nihuini 4114d333c9 low-level op api for C api 2020-12-25 15:13:10 +08:00