Paddle-Lite icon indicating copy to clipboard operation
Paddle-Lite copied to clipboard

[lib_size] opt kernel registry for tiny publish,test=develop

Open Leonardo-Ding opened this issue 3 years ago • 2 comments

修改tiny_publish下使用REGISTER_LITE_KERNEL宏注册kernel调用ParamTypeRegistry的实现,封装一层dummy ParamTypeRegistry供tiny_publish下的调用;c++_shared/armv8测试库体积变化: 修改前:1900KB 修改后:1860KB 减小ParamTypeRegistry类生成的static对象包含的std::map数据域,同时去除calib op注册的NHWC layout的kernel(跟洪明确认过不需要),该PR优化库体积约40KB

Leonardo-Ding avatar Apr 20 '21 08:04 Leonardo-Ding

Thanks for your contribution!

paddle-bot-old[bot] avatar Apr 20 '21 08:04 paddle-bot-old[bot]

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Aug 22 '22 02:08 CLAassistant

Automatically closed by Paddle-bot.

paddle-bot[bot] avatar Mar 05 '24 06:03 paddle-bot[bot]