[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9672":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":46,"readmeContent":47,"aiSummary":48,"trendingCount":16,"starSnapshotCount":16,"syncStatus":49,"lastSyncTime":50,"discoverSource":51},9672,"ncnn","Tencent\u002Fncnn","Tencent","ncnn is a high-performance neural network inference framework optimized for the mobile platform","",null,"C++",23363,4438,564,1070,0,5,26,150,24,103,"Other",false,"master",true,[27,28,29,30,31,32,33,34,35,36,37,38,5,39,40,41,42,43,44,45],"android","arm-neon","artificial-intelligence","caffe","darknet","deep-learning","high-preformance","inference","ios","keras","mlir","mxnet","neural-network","onnx","pytorch","riscv","simd","tensorflow","vulkan","2026-06-12 04:00:46","![ncnn](https:\u002F\u002Fraw.githubusercontent.com\u002FTencent\u002Fncnn\u002Fmaster\u002Fimages\u002F256-ncnn.png)\n\n# ncnn\n\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-BSD_3_Clause-blue.svg?style=for-the-badge)](LICENSE.txt)\n[![Download Total Count](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002FTencent\u002Fncnn\u002Ftotal.svg?style=for-the-badge)](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases)\n[![codecov](https:\u002F\u002Fimg.shields.io\u002Fcodecov\u002Fc\u002Fgithub\u002FTencent\u002Fncnn\u002Fmaster?style=for-the-badge)](https:\u002F\u002Fcodecov.io\u002Fgh\u002FTencent\u002Fncnn)\n\nncnn is a high-performance neural network inference computing framework optimized for mobile platforms.\nncnn is deeply considerate about deployment and uses on mobile phones from the beginning of design.\nncnn does not have third-party dependencies.\nIt is cross-platform and runs faster than all known open-source frameworks on mobile phone cpu.\nDevelopers can easily deploy deep learning algorithm models to the mobile platform by using efficient ncnn implementation, creating intelligent APPs, and bringing artificial intelligence to your fingertips.\nncnn is currently being used in many Tencent applications, such as QQ, Qzone, WeChat, Pitu, and so on.\n\nncnn 是一个为手机端极致优化的高性能神经网络前向计算框架。\nncnn 从设计之初深刻考虑手机端的部署和使用。\n无第三方依赖，跨平台，手机端 cpu 的速度快于目前所有已知的开源框架。\n基于 ncnn，开发者能够将深度学习算法轻松移植到手机端高效执行，\n开发出人工智能 APP，将 AI 带到你的指尖。\nncnn 目前已在腾讯多款应用中使用，如：QQ，Qzone，微信，天天 P 图等。\n\n---\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd>\n\u003Cb>技术交流 QQ 群\u003C\u002Fb>\u003Cbr \u002F>\n637093648 (超多大佬)\u003Cbr \u002F>\n答案：卷卷卷卷卷（已满）\n\u003C\u002Ftd>\n\u003Ctd rowspan=3>\n\u003Cb>Telegram Group\u003C\u002Fb>\n\n\u003Chttps:\u002F\u002Ft.me\u002Fncnnyes>\n\u003C\u002Ftd>\n\u003Ctd rowspan=3>\n\u003Cb>Discord Channel\u003C\u002Fb>\n\n\u003Chttps:\u002F\u002Fdiscord.gg\u002FYRsxgmF>\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\n\u003Cb>Pocky QQ 群（MLIR YES!）\u003C\u002Fb>\u003Cbr \u002F>\n677104663 (超多大佬)\u003Cbr \u002F>\n答案：multi-level intermediate representation\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\n\u003Cb>他们都不知道 pnnx 有多好用群\u003C\u002Fb>\u003Cbr \u002F>\n818998520 (新群！)\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n---\n\n## Download & Build status\n\nhttps:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\n\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd rowspan=2>\n  \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F25181517\u002F192108372-f71d70ac-7ae6-4c0d-8395-51d8870c2ef0.png\" width=\"120\" height=\"auto\">\n\u003C\u002Ftd>\n\u003Ctd colspan=3>\n\n  **[how to build ncnn library](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build) on Linux \u002F Windows \u002F macOS \u002F Raspberry Pi3, Pi4 \u002F POWER \u002F Android \u002F NVIDIA Jetson \u002F iOS \u002F WebAssembly \u002F AllWinner D1 \u002F Loongson 2K1000**\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Source\u003C\u002Ftd>\n\u003Ctd colspan=2>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-full-source.zip)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\n\u003Ctr>\n\u003Ctd rowspan=3>\n  \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F25181517\u002F117269608-b7dcfb80-ae58-11eb-8e66-6cc8753553f0.png\" width=\"120\" height=\"auto\">\n\u003C\u002Ftd>\n\u003Ctd colspan=3>\n\n- [Build for Android](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-android)\n- [Build for Termux on Android](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-termux-on-android)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Android\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-android-vulkan.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-android.zip)\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=2>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Fandroid.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Aandroid)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Android shared\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-android-vulkan-shared.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-android-shared.zip)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\n\u003Ctr>\n\u003Ctd rowspan=3>\n  \u003Cimg src=\"https:\u002F\u002Fupload.wikimedia.org\u002Fwikipedia\u002Fcommons\u002Fthumb\u002F3\u002F37\u002FHMOS_Logo_Icon.svg\u002F240px-HMOS_Logo_Icon.svg.png\" width=\"120\" height=\"auto\">\n\u003C\u002Ftd>\n\u003Ctd colspan=3>\n\n- [Build for HarmonyOS with cross-compiling](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-harmonyos-with-cross-compiling)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>HarmonyOS\u003C\u002Ftd>\n\u003Ctd>\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=2>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Fharmonyos.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Aharmonyos)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>HarmonyOS shared\u003C\u002Ftd>\n\u003Ctd>\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\n\u003Ctr>\n\u003Ctd rowspan=3>\n  \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F25181517\u002F121406611-a8246b80-c95e-11eb-9b11-b771486377f6.png\" width=\"120\" height=\"auto\">\n\u003C\u002Ftd>\n\u003Ctd colspan=3>\n\n- [Build for iOS on macOS with xcode](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-ios-on-macos-with-xcode)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>iOS\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-ios-vulkan.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-ios.zip)\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=2>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Fios.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Aios)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>iOS-Simulator\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-ios-simulator-vulkan.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-ios-simulator.zip)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\n\u003Ctr>\n\u003Ctd rowspan=10>\n  \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F25181517\u002F186884152-ae609cca-8cf1-4175-8d60-1ce1fa078ca2.png\" width=\"120\" height=\"auto\">\n\u003C\u002Ftd>\n\u003Ctd colspan=3>\n\n- [Build for macOS](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-macos)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>macOS\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-macos-vulkan.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-macos.zip)\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=1>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Fmacos.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Amacos)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Mac-Catalyst\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-mac-catalyst-vulkan.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-mac-catalyst.zip)\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=1>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Fmac-catalyst.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Amac-catalyst)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>watchOS\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-watchos.zip)\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=2>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Fwatchos.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Awatchos)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>watchOS-Simulator\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-watchos-simulator.zip)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>tvOS\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-tvos-vulkan.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-tvos.zip)\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=2>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Ftvos.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Atvos)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>tvOS-Simulator\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-tvos-simulator-vulkan.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-tvos-simulator.zip)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>visionOS\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-visionos-vulkan.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-visionos.zip)\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=2>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Fvisionos.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Avisionos)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>visionOS-Simulator\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-visionos-simulator-vulkan.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-visionos-simulator.zip)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Apple xcframework\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-apple-vulkan.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+cpuonly-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-apple.zip)\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=1>\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\n\u003Ctr>\n\u003Ctd rowspan=3>\n  \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F25181517\u002F186884153-99edc188-e4aa-4c84-91b0-e2df260ebc33.png\" width=\"120\" height=\"auto\">\n\u003C\u002Ftd>\n\u003Ctd colspan=3>\n\n- [Build for Linux \u002F NVIDIA Jetson \u002F Raspberry Pi3, Pi4 \u002F POWER](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-linux)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Ubuntu 22.04\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-ubuntu-2204.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+shared-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-ubuntu-2204-shared.zip)\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=2>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Flinux-x64-gpu-gcc.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Alinux-x64-gpu-gcc)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Ubuntu 24.04\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-ubuntu-2404.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+shared-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-ubuntu-2404-shared.zip)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\n\u003Ctr>\n\u003Ctd rowspan=5>\n  \u003Cimg alt=\"windows\" src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F25181517\u002F186884150-05e9ff6d-340e-4802-9533-2c3f02363ee3.png\" width=\"120\" height=\"auto\">\n\u003C\u002Ftd>\n\u003Ctd colspan=3>\n\n- [Build for Windows x64 using VS2017](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-windows-x64-using-visual-studio-community-2017)\n- [Build for Windows x64 using MinGW-w64](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-windows-x64-using-mingw-w64)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>VS2015\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-windows-vs2015.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+shared-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-windows-vs2015-shared.zip)\n\n\u003C\u002Ftd>\n\u003Ctd rowspan=4>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Fwindows.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Awindows)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>VS2017\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-windows-vs2017.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+shared-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-windows-vs2017-shared.zip)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>VS2019\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-windows-vs2019.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+shared-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-windows-vs2019-shared.zip)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>VS2022\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-windows-vs2022.zip)\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F+shared-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-windows-vs2022-shared.zip)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\n\u003Ctr>\n\u003Ctd rowspan=2>\n  \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F25181517\u002F188324036-d704ac9a-6e61-4722-b978-254b25b61bed.png\" width=\"120\" height=\"auto\">\n\u003C\u002Ftd>\n\u003Ctd colspan=3>\n\n- [Build for WebAssembly](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-webassembly)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>WebAssembly\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdownload-blue?style=for-the-badge\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Freleases\u002Flatest\u002Fdownload\u002Fncnn-20260113-webassembly.zip)\n\n\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Fweb-assembly.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Aweb-assembly)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\n\u003Ctr>\n\u003Ctd rowspan=8>\n  \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fmarwin1991\u002Fprofile-technology-icons\u002Fassets\u002F76662862\u002F2481dc48-be6b-4ebb-9e8c-3b957efe69fa\" width=\"120\" height=\"auto\">\n\u003C\u002Ftd>\n\u003Ctd colspan=3>\n\n- [Build for ARM Cortex-A family with cross-compiling](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-arm-cortex-a-family-with-cross-compiling)\n- [Build for Hisilicon platform with cross-compiling](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-hisilicon-platform-with-cross-compiling)\n- [Build for AllWinner D1](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-allwinner-d1)\n- [Build for Loongson 2K1000](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-loongson-2k1000)\n- [Build for QNX](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-build#build-for-qnx)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Linux (arm)\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Flinux-arm.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Alinux-arm)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Linux (aarch64)\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Flinux-aarch64.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Alinux-aarch64)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Linux (mips)\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Flinux-mips.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Alinux-mips)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Linux (mips64)\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Flinux-mips64.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Alinux-mips64)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Linux (ppc64)\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Flinux-ppc64.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Alinux-ppc64)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Linux (riscv64)\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Flinux-riscv64.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Alinux-riscv64)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Linux (loongarch64)\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>\n\n  [\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FTencent\u002Fncnn\u002Flinux-loongarch64.yml?branch=master&style=for-the-badge&label=build\">](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Factions?query=workflow%3Alinux-loongarch64)\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\n\u003C\u002Ftable>\n\n\n---\n\n## Support most commonly used CNN network\n\n## 支持大部分常用的 CNN 网络\n\n- Classical CNN:\n  [VGG](https:\u002F\u002Fgithub.com\u002FBVLC\u002Fcaffe\u002Fwiki\u002FModel-Zoo#models-used-by-the-vgg-team-in-ilsvrc-2014)\n  [AlexNet](https:\u002F\u002Fgithub.com\u002FBVLC\u002Fcaffe\u002Ftree\u002F9b891540183ddc834a02b2bd81b31afae71b2153\u002Fmodels\u002Fbvlc_alexnet)\n  [GoogleNet](https:\u002F\u002Fgithub.com\u002FBVLC\u002Fcaffe\u002Ftree\u002F9b891540183ddc834a02b2bd81b31afae71b2153\u002Fmodels\u002Fbvlc_googlenet)\n  Inception\n  ...\n- Practical CNN:\n  [ResNet](https:\u002F\u002Fgithub.com\u002Ftornadomeet\u002FResNet)\n  [DenseNet](https:\u002F\u002Fgithub.com\u002Fliuzhuang13\u002FDenseNet)\n  [SENet](https:\u002F\u002Fgithub.com\u002Fhujie-frank\u002FSENet)\n  [FPN](https:\u002F\u002Fgithub.com\u002Funsky\u002FFPN)\n  ...\n- Light-weight CNN:\n  [SqueezeNet](https:\u002F\u002Fgithub.com\u002Fforresti\u002FSqueezeNet)\n  [MobileNetV1](https:\u002F\u002Fgithub.com\u002Ftensorflow\u002Fmodels\u002Fblob\u002Fmaster\u002Fresearch\u002Fslim\u002Fnets\u002Fmobilenet_v1.md)\n  [MobileNetV2\u002FV3](https:\u002F\u002Fgithub.com\u002Ftensorflow\u002Fmodels\u002Fblob\u002Fmaster\u002Fresearch\u002Fslim\u002Fnets\u002Fmobilenet\u002FREADME.md)\n  [ShuffleNetV1](https:\u002F\u002Fgithub.com\u002Ffarmingyard\u002FShuffleNet)\n  [ShuffleNetV2](https:\u002F\u002Fgithub.com\u002Fopconty\u002Fkeras-shufflenetV2)\n  [MNasNet](https:\u002F\u002Fgithub.com\u002Ftensorflow\u002Fmodels\u002Ftree\u002Fmaster\u002Fresearch\u002Fslim\u002Fnets\u002Fnasnet)\n  ...\n- Face Detection:\n  [MTCNN](https:\u002F\u002Fgithub.com\u002Fipazc\u002Fmtcnn)\n  [RetinaFace](https:\u002F\u002Fgithub.com\u002Fbiubug6\u002FPytorch_Retinaface)\n  [scrfd](https:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-android-scrfd)\n  ...\n- Detection:\n  [VGG-SSD](https:\u002F\u002Fgithub.com\u002Flzx1413\u002FCAFFE_SSD)\n  [MobileNet-SSD](https:\u002F\u002Fgithub.com\u002Fchuanqi305\u002FMobileNet-SSD)\n  [SqueezeNet-SSD](https:\u002F\u002Fgithub.com\u002Fchuanqi305\u002FSqueezeNet-SSD)\n  [MobileNetV2-SSDLite](https:\u002F\u002Fgithub.com\u002Fchuanqi305\u002FMobileNetv2-SSDLite)\n  [MobileNetV3-SSDLite](https:\u002F\u002Fgithub.com\u002FXiaoyuHuang96\u002FMobilenetV3SSDLite-tfkeras)\n  ...\n- Detection:\n  [Faster-RCNN](https:\u002F\u002Fgithub.com\u002Frbgirshick\u002Fpy-faster-rcnn)\n  [R-FCN](https:\u002F\u002Fgithub.com\u002Fdaijifeng001\u002FR-FCN)\n  ...\n- Detection:\n  [YOLOv2](https:\u002F\u002Fgithub.com\u002Flongcw\u002Fyolo2-pytorch)\n  [YOLOv3](https:\u002F\u002Fgithub.com\u002Fultralytics\u002Fyolov3)\n  [MobileNet-YOLOv3](https:\u002F\u002Fgithub.com\u002Feric612\u002FMobileNet-YOLO)\n  [YOLOv4](https:\u002F\u002Fgithub.com\u002FTianxiaomo\u002Fpytorch-YOLOv4)\n  [YOLOv5](https:\u002F\u002Fgithub.com\u002Fultralytics\u002Fyolov5)\n  [YOLOv7](https:\u002F\u002Fgithub.com\u002FWongKinYiu\u002Fyolov7)\n  [YOLOX](https:\u002F\u002Fgithub.com\u002FMegvii-BaseDetection\u002FYOLOX)\n  [YOLOv8](https:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-android-yolov8)\n  ...\n- Detection:\n  [NanoDet](https:\u002F\u002Fgithub.com\u002FRangiLyu\u002Fnanodet)\n- Segmentation:\n  [FCN](https:\u002F\u002Fgithub.com\u002Funsky\u002FFPN)\n  [PSPNet](https:\u002F\u002Fgithub.com\u002Fhszhao\u002FPSPNet)\n  [UNet](https:\u002F\u002Fgithub.com\u002Fzhixuhao\u002Funet)\n  [YOLACT](https:\u002F\u002Fgithub.com\u002Fdbolya\u002Fyolact)\n  ...\n- Pose Estimation:\n  [SimplePose](https:\u002F\u002Fgithub.com\u002Fdog-qiuqiu\u002FUltralight-SimplePose)\n  ...\n\n---\n\n## HowTo\n\n**[use ncnn with alexnet](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fuse-ncnn-with-alexnet) with detailed steps, recommended for beginners :)**\n\n**[ncnn 组件使用指北 alexnet](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fuse-ncnn-with-alexnet.zh) 附带详细步骤，新人强烈推荐 :)**\n\n**[use netron for ncnn model visualization](https:\u002F\u002Fnetron.app)**\n\n**[use ncnn with pytorch or onnx](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fuse-ncnn-with-pytorch-or-onnx)**\n\n[ncnn low-level operation api](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Flow-level-operation-api)\n\n[ncnn param and model file spec](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fparam-and-model-file-structure)\n\n[ncnn operation param weight table](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Foperation-param-weight-table)\n\n[how to implement custom layer step by step](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fhow-to-implement-custom-layer-step-by-step)\n\n---\n\n## FAQ\n\n**[ncnn deepwiki](https:\u002F\u002Fdeepwiki.com\u002FTencent\u002Fncnn) LLM Answering Questions ;)** \n\n**[ncnn throw error](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002FFAQ-ncnn-throw-error)**\n\n**[ncnn produce wrong result](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002FFAQ-ncnn-produce-wrong-result)**\n\n**[ncnn vulkan](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002FFAQ-ncnn-vulkan)**\n\n---\n\n## Features\n\n- Supports convolutional neural networks, supports multiple input and multi-branch structure, can calculate part of the branch\n- No third-party library dependencies, does not rely on BLAS \u002F NNPACK or any other computing framework\n- Pure C++ implementation, cross-platform, supports Android, iOS and so on\n- ARM NEON assembly level of careful optimization, calculation speed is extremely high\n- Sophisticated memory management and data structure design, very low memory footprint\n- Supports multi-core parallel computing acceleration, ARM big.LITTLE CPU scheduling optimization\n- Supports GPU acceleration via the next-generation low-overhead Vulkan API\n- Extensible model design, supports 8bit [quantization](https:\u002F\u002Fgithub.com\u002FTencent\u002Fncnn\u002Fwiki\u002Fquantized-int8-inference) and half-precision floating point storage, can import caffe\u002Fpytorch\u002Fmxnet\u002Fonnx\u002Fdarknet\u002Fkeras\u002Ftensorflow(mlir) models\n- Support direct memory zero copy reference load network model\n- Can be registered with custom layer implementation and extended\n- Well, it is strong, not afraid of being stuffed with 卷 QvQ\n\n## 功能概述\n\n- 支持卷积神经网络，支持多输入和多分支结构，可计算部分分支\n- 无任何第三方库依赖，不依赖 BLAS\u002FNNPACK 等计算框架\n- 纯 C++ 实现，跨平台，支持 Android \u002F iOS 等\n- ARM Neon 汇编级良心优化，计算速度极快\n- 精细的内存管理和数据结构设计，内存占用极低\n- 支持多核并行计算加速，ARM big.LITTLE CPU 调度优化\n- 支持基于全新低消耗的 Vulkan API GPU 加速\n- 可扩展的模型设计，支持 8bit [量化](tools\u002Fquantize) 和半精度浮点存储，可导入 caffe\u002Fpytorch\u002Fmxnet\u002Fonnx\u002Fdarknet\u002Fkeras\u002Ftensorflow(mlir) 模型\n- 支持直接内存零拷贝引用加载网络模型\n- 可注册自定义层实现并扩展\n- 恩，很强就是了，不怕被塞卷 QvQ\n\n---\n\n## supported platform matrix\n\n- ✅ = known work and runs fast with good optimization\n- ✔️ = known work, but speed may not be fast enough\n- ❔ = shall work, not confirmed\n- \u002F = not applied\n\n|            | Windows | Linux | Android | macOS | iOS |\n| ---------- | ------- | ----- | ------- | ----- | --- |\n| intel-cpu  | ✔️      | ✔️    | ✔️      | ✔️    | \u002F   |\n| intel-gpu  | ✔️      | ✔️    | ✔️      | ✔️    | \u002F   |\n| amd-cpu    | ✔️      | ✔️    | ✔️      | ✔️    | \u002F   |\n| amd-gpu    | ✔️      | ✔️    | ✔️      | ✔️    | \u002F   |\n| nvidia-gpu | ✔️      | ✔️    | ✔️      | ✔️    | \u002F   |\n| qcom-cpu   | ✅      | ✅    | ✅      | \u002F     | \u002F   |\n| qcom-gpu   | ✔️      | ✔️    | ✔️      | \u002F     | \u002F   |\n| arm-cpu    | ✅      | ✅    | ✅      | \u002F     | \u002F   |\n| arm-gpu    | ❔      | ✔️    | ✔️      | \u002F     | \u002F   |\n| apple-cpu  | \u002F       | \u002F     | \u002F       | ✔️    | ✅  |\n| apple-gpu  | \u002F       | \u002F     | \u002F       | ✔️    | ✔️  |\n| ibm-cpu    | \u002F       | ✔️     | \u002F       | \u002F    | \u002F  |\n\n---\n\n## Project examples\n\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-android-squeezenet>\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-android-styletransfer>\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-android-mobilenetssd>\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fmoli232777144\u002Fmtcnn_ncnn>\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-android-yolov5>\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fxiang-wuu\u002Fncnn-android-yolov7>\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-android-scrfd> 🤩\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fshaoshengsong\u002Fqt_android_ncnn_lib_encrypt_example>\n\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-assets\u002Fraw\u002Fmaster\u002F20181217\u002Fncnn-2.jpg\" height =\"230\"\u002F>\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-assets\u002Fraw\u002Fmaster\u002F20181217\u002F4.jpg\" height =\"230\"\u002F>\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-assets\u002Fraw\u002Fmaster\u002F20181217\u002Fncnn-33.jpg\" height =\"230\"\u002F>\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-assets\u002Fraw\u002Fmaster\u002F20181217\u002Fncnn-m.png\" height =\"230\"\u002F>\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-android-yolov5\u002Fraw\u002Fmaster\u002Fscreenshot.jpg\" height =\"230\"\u002F>\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fnihui\u002Fncnn-android-scrfd\u002Fraw\u002Fmaster\u002Fscreenshot.jpg\" height =\"230\"\u002F>\u003Cbr>\n\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fmagicse\u002Fncnn-colorization-siggraph17>\u003Cbr>\n\u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F13585785\u002F189326958-f5a8d6f8-caef-49bf-88da-ae494371195d.jpg\" width =\"700\"\u002F>\n\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fmizu-bai\u002Fncnn-fortran> Call ncnn from Fortran\n\n- \u003Chttps:\u002F\u002Fgithub.com\u002Fk2-fsa\u002Fsherpa> Use ncnn for real-time speech\n  recognition (i.e., speech-to-text); also support embedded devices and provide\n  mobile Apps (e.g., Android App)\n\n---\n\n## License\n\n[BSD 3 Clause](LICENSE.txt)\n","ncnn 是一个专为移动平台优化的高性能神经网络推理框架。它从设计之初就充分考虑了在手机上的部署和使用，具有无第三方依赖、跨平台的特点，并且在手机 CPU 上的运行速度优于所有已知的开源框架。核心功能包括支持多种深度学习模型格式（如 Caffe、ONNX 和 TensorFlow 等）的高效执行，以及通过 ARM NEON 指令集和 Vulkan API 进行硬件加速。ncnn 适用于需要在移动端实现快速且低功耗的人工智能应用开发场景，如图像识别、语音处理等。目前，该技术已在腾讯的多款知名应用中得到广泛应用，包括 QQ、微信等。",2,"2026-06-11 03:24:07","top_topic"]