21 Commits

Author SHA1 Message Date
nihui c0abf4830d harden paramdict parsing and typed access (#6983)
Co-authored-by: Nathan Keys <nathan.keys@pm.me>
Co-authored-by: beilzx <2069360659@qq.com>
2026-09-10 17:23:55 +08:00
nihui bfcdd0633e ncnn2mem support new style array and string type (#6440) 2026-01-05 14:12:10 +08:00
nihui 171b9d1bba use spdx license header, copyright Tencent (#6152) 2025-07-08 11:01:29 +08:00
nihuini 2b1f8bea25 fix float locale issue in ncnn2mem, fix long line parsing in ncnn2int8 2021-04-14 18:59:28 +08:00
nihuini 38b6387bc5 ncnnoptimize and ncnn2mem now accepts weight-less custom layer 2020-12-17 15:54:33 +08:00
nihui 3ef995ed1e format code style and setup restyled.io (#1840) 2020-06-13 22:17:51 +08:00
Guoxia Wang 7add0ea94e fix ncnn2mem.cpp param bin save path (#1766) 2020-05-15 14:21:34 +08:00
Sungmann Cho ac98064e8d Fix warnings on Visual Studio (#1461)
* Fix warning C4267 in tools/ncnn2mem.cpp

C4267: 'return': conversion from 'size_t' to 'int', possible loss of data

* Fix warning C4267 in tools/mxnet/mxnet2ncnn.cpp

C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data

* Fix warning C4267 in src/layer/{eltwise|yolov3detectionoutput}.cpp

C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
2019-12-27 15:47:39 +08:00
tpoisonooo 1ca4387c9c Auto choose conv implementation (#1085)
* add relative README_CN.md;
* obtain time cost with op->forward().
2019-07-18 16:47:14 +08:00
Howave 123ca35e00 fix compile warnings (#1042) 2019-06-12 14:29:39 +08:00
Gemfield c625471784 Fix ncnn2mem crash issue (#857) 2019-03-22 20:53:01 +08:00
nihui 5d04a3a45c layer holds bottom blob scale, depthwise convolution read group scales 2018-08-04 23:19:10 +08:00
nihui 354b95256c bump param version, backward compatible 2018-08-04 12:55:12 +08:00
Hyungsuk Yoon 354f515596 scanf with width specifier need (width + 1) spaces 2018-04-24 10:17:47 +08:00
Yantao Xie 89c7aa26f8 support the scientific notation when parsing layer's paramters. 2018-04-23 15:08:37 +08:00
Howave 5e7332e507 align memory start address (#318)
* make memory start address 4bytes aligned
* align memory start address for MSVC
2018-03-30 17:06:16 +08:00
nihui 8e490d4b68 fix array parsing, first try 2017-10-16 15:23:56 +08:00
nihui 7091370713 fix EOP, regenerate squeezenet param files 2017-10-15 12:08:20 +08:00
nihui 1e2265dd99 new param load api 2017-10-15 11:30:29 +08:00
Zuyu Zhang d5f0214ec7 Fixed the build warnings and added gitignore. 2017-07-24 01:02:13 -05:00
nihuini b7db8be4f6 add ncnn source qwq 2017-06-30 20:01:38 +08:00