{"id":3010,"date":"2020-03-27T02:16:34","date_gmt":"2020-03-27T02:16:34","guid":{"rendered":""},"modified":"2020-03-27T10:20:17","modified_gmt":"2020-03-27T02:20:17","slug":"ai%e8%be%b9%e7%bc%98%e8%ae%a1%e7%ae%97%e5%b9%b3%e5%8f%b0edgeboard%e5%a6%82%e4%bd%95%e5%ae%9e%e7%8e%b0%e7%81%b5%e6%b4%bb%e3%80%81%e5%bf%ab%e9%80%9f%e9%83%a8%e7%bd%b2%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=3010","title":{"rendered":"AI\u8fb9\u7f18\u8ba1\u7b97\u5e73\u53f0EdgeBoard\u5982\u4f55\u5b9e\u73b0\u7075\u6d3b\u3001\u5feb\u901f\u90e8\u7f72\uff1f"},"content":{"rendered":"
\n\t\u4eba\u5de5\u667a\u80fd\u9886\u57df\u8fb9\u7f18\u4fa7\u7684\u5e94\u7528\u573a\u666f\u591a\u79cd\u591a\u6837\uff0c\u5728\u529f\u80fd\u3001\u6027\u80fd\u3001\u529f\u8017\u3001\u6210\u672c\u7b49\u65b9\u9762\u5b58\u5728\u5dee\u5f02\u5316\u7684\u9700\u6c42\uff0c\u56e0\u6b64\u4e00\u6b3e\u4f18\u79c0\u7684\u4eba\u5de5\u667a\u80fd\u8fb9\u7f18\u8ba1\u7b97\u5e73\u53f0\uff0c\u5e94\u5f53\u5177\u5907\u7075\u6d3b\u5feb\u901f\u9002\u914d\u5168\u573a\u666f\u7684\u80fd\u529b\uff0c\u80fd\u591f\u5728\u5b89\u9632\u3001\u533b\u7597\u3001\u6559\u80b2\u3001\u96f6\u552e\u7b49\u591a\u7ef4\u5ea6\u884c\u4e1a\u5e94\u7528\u4e2d\u5b9e\u73b0\u5feb\u901f\u90e8\u7f72\u3002<\/p>\n
\n\t\u767e\u5ea6\u5927\u8111EdgeBoard\u5d4c\u5165\u5f0fAI<\/u>\u89e3\u51b3\u65b9\u6848\uff0c\u4ee5\u5176\u4e30\u5bcc\u7684\u786c\u4ef6\u4ea7\u54c1\u77e9\u9635\u3001\u81ea\u7814\u7684\u591a\u5e76\u53d1\u9ad8\u6027\u80fd\u901a\u7528CNN\uff08Convoluti<\/u>on Neural Network\uff09\u8bbe\u8ba1\u67b6\u6784\u3001\u7075\u6d3b\u591a\u6837\u7684\u8f6f\u6838\u7b97\u529b\u914d\u7f6e\uff0c\u642d\u914d\u79fb\u52a8\u7aef\u8f7b\u91cf\u7ea7Pad<\/u>dle Lite<\/u>\u9ad8\u6548\u9884\u6d4b\u6846\u67b6\uff0c\u901a\u8fc7\u767e\u5ea6\u81ea\u5b9a\u4e49\u7684MODA \uff08Model Driven Architecture\uff09\u5de5\u5177\u94fe\uff0c\u4f9d\u636e\u5404\u5e94\u7528\u573a\u666f\u5b9a\u5236\u5316\u7684\u6a21\u578b\u548c\u7b97\u6cd5\u7279\u70b9\uff0c\u5411\u7528\u6237\u63d0\u4f9b\u9ad8\u6027\u4ef7\u6bd4\u7684\u8f6f\u786c\u4e00\u4f53\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u540c\u65f6\u548c\u767e\u5ea6\u5927\u8111\u6a21\u578b\u5f00\u53d1\u5e73\u53f0\uff08AIStudio\u3001EasyDL\uff09\u6df1\u5ea6\u6253\u901a\uff0c\u5b9e\u73b0\u6a21\u578b\u7684\u8bad\u7ec3\u3001\u90e8\u7f72\u3001\u63a8\u7406\u7b49\u4e00\u7ad9\u5f0f\u670d\u52a1\u3002<\/p>\n \n\tEdgeBoard\u662f\u57fa\u4e8eXilinx 16nm\u5de5\u827aZynq UltraScale+ MPSoC<\/u>\u7684\u5d4c\u5165\u5f0fAI\u89e3\u51b3\u65b9\u6848\uff0c\u91c7\u7528Xilinx\u5f02\u6784\u591a\u6838\u5e73\u53f0\u5c06\u56db\u6838ARM<\/u> Cortex-A53\u5904\u7406\u5668\u548cFPGA<\/u>\u53ef\u7f16\u7a0b\u903b\u8f91\u96c6\u6210\u5728\u4e00\u9897\u82af\u7247\u4e0a\uff0c\u9ad8\u6027\u80fd\u8ba1\u7b97\u677f\u5361\u4e0a\u642d\u8f7d\u4e86\u4e30\u5bcc\u7684\u5916\u90e8\u63a5\u53e3<\/u>\u548c\u8bbe\u5907\uff0c\u5177\u6709\u5f00\u53d1\u677f\u3001\u8fb9\u7f18\u8ba1\u7b97\u76d2\u3001\u6293\u62cd\u673a\u3001\u5c0f\u578b\u670d\u52a1\u5668\u3001\u5b9a\u5236\u5316\u89e3\u51b3\u65b9\u6848\u7b49\u8868\u73b0\u5f62\u6001\u3002<\/p>\n \n\tEdgeBoard\u8ba1\u7b97\u5361\u4ea7\u54c1\u53ef\u4ee5\u5206\u4e3aFZ9\u3001FZ5\u3001FZ3\u4e09\u4e2a\u7cfb\u5217\uff0c\u662f\u57fa\u4e8eXilinx XCZU9EG\u3001XAZU5EV\u3001XAZU3EG\u7814\u53d1\u800c\u6765\uff0c\u5206\u522b\u5177\u6709\u9ad8\u6027\u80fd\uff0c\u89c6\u9891\u786c\u89e3\u7801\uff0c\u4f4e\u6210\u672c\u7b49\u7279\u70b9\uff0c\u540c\u65f6\u8fd8\u6709\u4e0d\u540c\u7684DDR\u5bb9\u91cf\u7248\u672c\u3002\u4ee5\u4e0a\u4e09\u4e2a\u7248\u672cPS\u4fa7\u540c\u6837\u91c7\u7528\u56db\u6838Cortex-A53 \u3001\u53cc\u6838Cortex-R5\u3001\u4ee5\u53caGPU<\/u> Mali-400MP2\u7b49\u5904\u7406\u5668\u914d\u7f6e\uff0cPS\u5230PL\u7684\u63a5\u53e3\u5747\u4e3a12x32\/64\/128b AXI Ports\uff0c\u4e3b\u8981\u7684\u533a\u522b\u5728\u4e8ePL\u4fa7\u62e5\u6709\u7684\u82af\u7247\u903b\u8f91\u8d44\u6e90\u5927\u5c0f\u4e0d\u540c\uff0c\u53ef\u53c2\u89c1\u4e0b\u8868\u3002<\/p>\n \n\t<\/p>\n \n\t\u91c7\u7528\u4e0a\u8ff0\u4e09\u79cd\u6807\u51c6\u4ea7\u54c1\u7684\u786c\u4ef6\u677f\u5361\u6216\u8005\u4e00\u81f4\u7684\u786c\u4ef6\u53c2\u8003\u8bbe\u8ba1\uff0c\u7528\u6237\u53ef\u65e0\u7f1d\u9002\u914d\u8fd0\u884cEdgeBoard\u516c\u5f00\u53d1\u5e03\u7684\u6700\u65b0\u7248\u6807\u51c6\u955c\u50cf\uff0c\u4e5f\u53ef\u6839\u636e\u81ea\u8eab\u9879\u76ee\u9700\u6c42\u5b9a\u5236\u76f8\u5173\u7684\u786c\u4ef6\u8bbe\u8ba1\uff0c\u5e76\u8fdb\u4e00\u6b65\u6839\u636e\u6027\u80fd\u3001\u6210\u672c\u548c\u529f\u8017\u8981\u6c42\uff0c\u4ee5\u53ca\u5176\u4ed6\u529f\u80fd\u6a21\u5757\u7684\u96c6\u6210\u9700\u6c42\uff0c\u5bf9\u8f6f\u6838\u7684\u7b97\u529b\u548c\u8d44\u6e90\u8fdb\u884c\u4e2a\u6027\u5316\u914d\u7f6e\u3002\uff08\u591a\u6b3e\u5f00\u53d1\u677f\u9002\u914d\u89c6\u9891\u6559\u7a0b\uff1ahttps:\/\/ai.baidu.com\/forum\/topic\/show\/957750\uff09<\/p>\n \n\t2.1 CNN\u52a0\u901f\u8f6f\u6838\u7684\u6574\u4f53\u8bbe\u8ba1\u6846\u67b6<\/p>\n \n\tEdgeBoard\u7684CNN\u52a0\u901f\u8f6f\u6838\uff08\u6574\u4f53\u7684\u52a0\u901f\u65b9\u6848\u79f0\u4e4b\u4e3a\u8f6f\u6838\uff09\u63d0\u4f9b\u4e86\u4e00\u5957\u8ba1\u7b97\u8d44\u6e90\u548c\u6027\u80fd\u4f18\u5316\u7684AI\u8f6f\u4ef6\u6808\uff0c\u7531\u4e0a\u81f3\u4e0b\u5206\u522b\u5305\u62ec\u5e94\u7528\u5c42\u8f6f\u4ef6API<\/u>\u3001\u8ba1\u7b97\u52a0\u901f\u5355\u5143\u7684SDK\u8c03\u5ea6\u7ba1\u7406\u3001Paddle Lite\u9884\u6d4b\u6846\u67b6\u57fa\u7840\u7ba1\u7406\u5668\u3001Linux<\/u>\u64cd\u4f5c\u7cfb\u7edf\u3001\u8d1f\u8d23\u8bbe\u5907\u7ba1\u7406\u548c\u5185\u5b58\u5206\u914d\u7684\u9a71\u52a8\u5c42\u548cCNN\u7b97\u5b50\u7684\u4e13\u7528\u786c\u4ef6\u52a0\u901f\u5355\u5143\uff0c\u7528\u6765\u5b8c\u6210\u5377\u79ef\u795e\u7ecf\u7f51\u7edc<\/u>\u6a21\u578b\u7684\u52a0\u8f7d\u3001\u89e3\u6790\u3001\u4f18\u5316\u548c\u6267\u884c\u7b49\u529f\u80fd\u3002<\/p>\n \n\t<\/p>\n \n\t\u8fd9\u4e9b\u4e3b\u8981\u7ec4\u6210\u90e8\u5206\u5728\u8f6f\u4ef6\u6808\u4e2d\u529f\u80fd\u548c\u4f5c\u7528\u76f8\u4e92\u4f9d\u8d56\uff0c\u627f\u8f7d\u7740\u6570\u636e\u6d41\u3001\u8ba1\u7b97\u6d41\u548c\u63a7\u5236\u6d41\u3002\u57fa\u4e8e\u4e0a\u56fe\u8bbe\u8ba1\u6846\u67b6\uff0cEdgeBoard\u7684AI\u8f6f\u4ef6\u6808\u4e3b\u8981\u5206\u4e3a4\u4e2a\u5c42\u6b21\uff1a<\/p>\n \n\t \u5e94\u7528\u4f7f\u80fd\u5c42<\/strong><\/p>\n \n\t\u9762\u5411\u7528\u6237\u7684\u5e94\u7528\u7ea7\uff08APP\uff09\u5c01\u88c5\uff0c\u4e3b\u8981\u662f\u9762\u5411\u8ba1\u7b97\u673a<\/u>\u89c6\u89c9\u9886\u57df\u63d0\u4f9b\u56fe\u50cf\u5904\u7406\u548c\u795e\u7ecf\u7f51\u7edc\u63a8\u7406\u7684\u4e1a\u52a1\u6267\u884cAPI\u3002<\/p>\n \n\t \u6267\u884c\u6846\u67b6\u5c42<\/strong><\/p>\n \n\tPaddle Lite\u9884\u6d4b\u6846\u67b6\u63d0\u4f9b\u4e86\u795e\u7ecf\u7f51\u7edc\u7684\u6267\u884c\u80fd\u529b\uff0c\u652f\u6301\u6a21\u578b\u7684\u52a0\u8f7d\u3001\u5378\u8f7d\u3001\u89e3\u6790\u548c\u63a8\u7406\u8ba1\u7b97\u6267\u884c\u3002<\/p>\n \n\t \u8c03\u5ea6\u4f7f\u80fd\u5c42<\/strong><\/p>\n \n\tSDK\u8c03\u5ea6\u4f7f\u80fd\u5355\u5143\u8d1f\u8d23\u7ed9\u786c\u4ef6\u6d3e\u53d1\u7b97\u5b50\u5c42\u9762\u7684\u4efb\u52a1\uff0c\u5b8c\u6210\u7b97\u5b50\u76f8\u5e94\u4efb\u52a1\u7684\u8c03\u5ea6\u3001\u7ba1\u7406\u548c\u5206\u53d1\u540e\uff0c\u5177\u4f53\u8ba1\u7b97\u4efb\u52a1\u7684\u6267\u884c\u7531\u8ba1\u7b97\u8d44\u6e90\u5c42\u542f\u52a8\u3002<\/p>\n \n\t\u8ba1\u7b97\u8d44\u6e90\u5c42<\/strong><\/p>\n \n\t\u4e13\u7528\u8ba1\u7b97\u52a0\u901f\u5355\u5143\u642d\u914d\u64cd\u4f5c\u7cfb\u7edf\u548c\u9a71\u52a8\uff0c\u4f5c\u4e3aCNN\u8f6f\u6838\u7684\u8ba1\u7b97\u8d44\u6e90\u5c42\uff0c\u4e3b\u8981\u627f\u8f7d\u7740\u90e8\u5206CNN\u7b97\u5b50\u7684\u9ad8\u5bc6\u5ea6\u77e9\u9635\u8ba1\u7b97\uff0c\u53ef\u4ee5\u770b\u4f5c\u662fEdgeboard\u7684\u786c\u4ef6\u7b97\u529b\u57fa\u7840\u3002<\/p>\n \n\t2.2 CNN\u7b97\u5b50\u7684\u52a0\u901f\u5206\u7c7b<\/p>\n \n\t\u4e13\u7528\u8ba1\u7b97\u52a0\u901f\u5355\u5143\u57fa\u4e8eFPGA\u7684\u53ef\u7f16\u7a0b\u903b\u8f91\u8d44\u6e90\u5f00\u53d1\u5b9e\u73b0\uff0c\u91c7\u7528ARM CPU<\/u>\u548cFPGA\u5171\u4eab\u5185\u5b58\u7684\u65b9\u5f0f\uff0c\u901a\u8fc7\u9ad8\u5e26\u5bbdDMA<\/u>\uff08Direct Memory Access\uff09\u5b9e\u73b0\u4e8c\u8005\u6570\u636e\u7684\u9ad8\u901f\u4ea4\u4e92\uff0c\u5171\u4eab\u5185\u5b58\u4e5f\u5e76\u4f5c\u4e3a\u5f02\u6784\u8ba1\u7b97\u5e73\u53f0\u5404\u7b97\u5b50\u6570\u636e\u5728CPU\u548cFPGA\u534f\u540c\u5904\u7406\u7684\u6865\u6881\uff0c\u51cf\u5c11\u4e86\u6570\u636e\u5728CPU\u4e0eFPGA\u4e4b\u95f4\u7684\u91cd\u590d\u4f20\u8f93\u3002\u6b64\u5916\uff0cCNN\u7b97\u5b50\u529f\u80fd\u6a21\u5757\u53ef\u76f4\u63a5\u53d1\u8d77DDR\u8bfb\u5199\u64cd\u4f5c\uff0c\u5145\u5206\u53d1\u6325\u4e86FPGA\u7684\u5b9e\u65f6\u54cd\u5e94\u7279\u6027\uff0c\u51cf\u5c11\u4e86CPU\u4e2d\u65ad\u7b49\u5f85\u7684\u65f6\u95f4\u6d88\u8017\u3002<\/p>\n \n\t\u6839\u636eCNN\u7b97\u5b50\u7684\u8ba1\u7b97\u7279\u70b9\uff0cEdgeBoard\u7684\u7b97\u5b50\u52a0\u901f\u5355\u5143\u53ef\u5212\u5206\u4e3a\u5982\u4e0b\u4e24\u7c7b\uff1a<\/p>\n \n\t\u590d\u6742\u7b97\u5b50\u52a0\u901f\u5355\u5143<\/strong><\/p>\n \n\t\u987e\u540d\u601d\u4e49\uff0c\u662f\u6307\u77e9\u9635\u8ba1\u7b97\u89c4\u5219\u8f83\u4e3a\u590d\u6742\uff0c\u5904\u7406\u6570\u636e\u91cf\u8f83\u591a\uff0c\u7531\u4e8e\u7247\u4e0a\u5b58\u50a8<\/u>\u8d44\u6e90\u9650\u5236\uff0c\u901a\u5e38\u9700\u8981\u591a\u6b21\u8bfb\u5199DDR\u5e76\u8fdb\u884c\u5206\u6279\u5904\u7406\u7684\u7b97\u5b50\u52a0\u901f\u5355\u5143\u3002<\/p>\n \n\t\uff081\uff09 \u5377\u79ef\uff08Convolution\uff09\uff1a\u5305\u542b\u5e38\u89c4\u5377\u79ef\u3001\u7a7a\u6d1e<\/u>\u5377\u79ef\u3001\u5206\u7ec4\u5377\u79ef\u3001\u8f6c\u7f6e\u5377\u79ef\uff0c\u6b64\u5916\u5168\u8fde\u63a5\uff08Full Connection\uff09\u4e5f\u53ef\u901a\u8fc7\u8c03\u7528\u5377\u79ef\u7b97\u5b50\u5b9e\u73b0\u3002<\/p>\n \n\t\uff082\uff09 \u6c60\u5316\uff08Pooling\uff09\uff1a\u5305\u542bMax\u548cAverage\u4e24\u79cd\u6c60\u5316\u65b9\u5f0f\u3002<\/p>\n \n\t\uff083\uff09 \u6df1\u5ea6\u5206\u79bb\u5377\u79ef\uff08Depth-wise Convolution\uff09\uff1a\u4e0ePooling\u7684\u5904\u7406\u7279\u70b9\u7c7b\u4f3c\uff0c\u56e0\u6b64\u590d\u7528\u540c\u6837\u7684\u786c\u4ef6\u52a0\u901f\u5355\u5143\uff0c\u63d0\u9ad8\u8d44\u6e90\u5229\u7528\u7387\u3002<\/p>\n \n\t\uff084\uff09 \u77e9\u9635\u5143\u7d20\u70b9\u64cd\u4f5c\uff08Element-wise OP\uff09\uff1a\u53ef\u8f6c\u6362\u4e3a\u7279\u5b9a\u53c2\u6570\u7684Pooling\u64cd\u4f5c\uff0c\u56e0\u6b64\u590d\u7528\u540c\u6837\u7684\u786c\u4ef6\u52a0\u901f\u5355\u5143\uff0c\u63d0\u9ad8\u8d44\u6e90\u5229\u7528\u7387\u3002<\/p>\n \n\t\uff085\uff09 \u5f52\u4e00\u5316\u51fd\u6570\uff08L2-Normalize\uff09\uff1a\u62e5\u6709\u8f83\u9ad8\u5904\u7406\u7cbe\u5ea6\uff0c\u4e14\u5b9e\u73b0\u8d44\u6e90\u6700\u4f18\u8bbe\u8ba1\u3002<\/p>\n \n\t\uff086\uff09 \u590d\u6742\u6fc0\u6d3b\u51fd\u6570\uff08Softmax\uff09\uff1a\u4e0eNormalize\u5904\u7406\u7279\u70b9\u76f8\u4f3c\uff0c\u590d\u7528\u540c\u6837\u7684\u786c\u4ef6\u52a0\u901f\u5355\u5143\u548c\u5904\u7406\u6d41\u7a0b\uff0c\u63d0\u9ad8\u8d44\u6e90\u5229\u7528\u7387\u3002<\/p>\n \n\t\u901a\u8def\u7b97\u5b50\u52a0\u901f\u5355\u5143<\/strong><\/p>\n \n\t\u901a\u8def\u7b97\u5b50\u662f\u6307\u5728\u590d\u6742\u7b97\u5b50\u52a0\u901f\u5355\u5143\u7684\u8ba1\u7b97\u6570\u636e\u5199\u56deDDR\u7684\u6d41\u6c34\u8def\u5f84\u4e0a\u5b9e\u73b0\u7684\u7b97\u5b50\uff0c\u9002\u5408\u4e00\u4e9b\u65e0\u9700\u4e13\u95e8\u5b58\u50a8\u4e2d\u95f4\u7ed3\u679c\uff0c\u53ef\u5feb\u901f\u8ba1\u7b97\u5e76\u6d41\u51fa\u6570\u636e\u7684\u7b80\u5355\u7b97\u5b50\u3002<\/p>\n \n\t\uff081\uff09 \u5404\u7c7b\u7b80\u5355\u6fc0\u6d3b\u51fd\u6570\uff08Relu\uff0c Relu6\uff0c Leaky-Relu\uff0c Sigmoid\uff0c Tanh\uff09\uff1a\u57fa\u672c\u6db5\u76d6\u4e86CNN\u7f51\u7edc\u4e2d\u5e38\u89c1\u7684\u6fc0\u6d3b\u51fd\u6570\u7c7b\u578b\u3002<\/p>\n \n\t\uff082\uff09 \u5f52\u4e00\u5316\uff08Batch norm\/Scale\uff09\uff1a\u901a\u5e38\u7528\u4e8e\u5377\u79ef\u7b97\u5b50\u540e\u7684\u6d41\u6c34\u5904\u7406\uff0c\u4e5f\u53ef\u652f\u6301\u8ddf\u968f\u5728\u5176\u4ed6\u7b97\u5b50\u540e\u7684\u6d41\u6c34\u5904\u7406\u3002<\/p>\n \n\t\u53e6\u5916\u4e00\u79cd\u5206\u7c7b\u65b9\u5f0f\uff0c\u662f\u6839\u636eCNN\u7f51\u7edc\u91cc\u7684\u7b97\u5b50\u5e38\u7528\u7a0b\u5ea6\u5212\u5206\u4e3a\u5fc5\u914d\u7b97\u5b50\u548c\u9009\u914d\u7b97\u5b50\uff0c\u524d\u8005\u6307CNN\u8f6f\u6838\u5fc5\u9700\u7684\u7b97\u5b50\u5355\u5143\uff0c\u901a\u5e38\u5bf9\u5e94\u5927\u90e8\u5206\u7f51\u7edc\u90fd\u6d89\u53ca\u7684\u7b97\u5b50\uff0c\u6216\u8005\u662f\u82af\u7247\u8d44\u6e90\u6d88\u8017\u6781\u5c11\u7684\u7b97\u5b50\uff1b\u540e\u8005\u6307CNN\u8f6f\u6838\u53ef\u4ee5\u9009\u62e9\u6027\u914d\u7f6e\u7684\u7b97\u5b50\u5355\u5143\uff0c\u901a\u5e38\u662f\u7279\u5b9a\u7684\u7f51\u7edc\u4f1a\u6709\u7684\u7279\u5b9a\u7b97\u5b50\u3002\u8fd9\u6837\u5212\u5206\u7684\u597d\u5904\u662f\uff0c\u7528\u6237\u6839\u636eMODA\u5de5\u5177\u94fe\u81ea\u5b9a\u4e49\u9009\u62e9\uff0c\u51cf\u5c11\u4e86\u6a21\u578b\u4e2d\u65e0\u7528\u7b97\u5b50\u9020\u6210\u7684\u903b\u8f91\u8d44\u6e90\u7684\u5f00\u9500\u548c\u548c\u529f\u8017\u7684\u589e\u52a0\u3002<\/p>\n \n\t\u5fc5\u914d\u7b97\u5b50\uff1aConvolution\uff0c Pooling\uff0c Element-Wise\uff0c Depth-Wise Convolution\uff0c BN\/Scale\uff0c Relu\uff0c Relu6<\/strong><\/p>\n \n\t\u9009\u914d\u7b97\u5b50\uff1aNormalize\uff0c Softmax\uff0c Leaky-Relu\uff0c Sigmoid\uff0c Tanh<\/strong><\/p>\n \n\t2.3 \u5377\u79ef\u8ba1\u7b97\u52a0\u901f\u5355\u5143\u7684\u8bbe\u8ba1\u601d\u8def<\/p>\n \n\t\u4f5c\u4e3aCNN\u7f51\u7edc\u4e2d\u6bd4\u91cd\u6700\u5927\u3001\u6700\u4e3a\u6838\u5fc3\u7684\u5377\u79ef\u8ba1\u7b97\u52a0\u901f\u5355\u5143\uff0c\u662fCNN\u8f6f\u6838\u6027\u80fd\u52a0\u901f\u7684\u5173\u952e\uff0c\u4e5f\u5360\u7528\u4e86FPGA\u82af\u7247\u7684\u5927\u90e8\u5206\u7b97\u529b\u5206\u914d\u548c\u903b\u8f91\u8d44\u6e90\u6d88\u8017\u3002\u4e0b\u9762\u5c06\u9488\u5bf9EdgeBoard\u5377\u79ef\u8ba1\u7b97\u52a0\u901f\u5355\u5143\u7684\u8bbe\u8ba1\u601d\u8def\u8fdb\u884c\u7b80\u8981\u4ecb\u7ecd\uff0c\u6b64\u7ae0\u8282\u4e5f\u662f\u7406\u89e3CNN\u8f6f\u6838\u7b97\u529b\u5f39\u6027\u914d\u7f6e\u7684\u6280\u672f\u57fa\u7840\u3002<\/p>\n \n\t\u6bcf\u4e00\u5c42\u7f51\u7edc\u7684\u5377\u79ef\u8fd0\u7b97\uff0c\u6709M\u4e2a\u8f93\u5165\u56fe\u7247\uff08\u79f0\u4e4b\u4e3afeature map\uff0c\u5bf9\u5e94\u7740\u4e00\u4e2a\u8f93\u5165\u901a\u9053\uff09\uff0cN\u4e2a\u8f93\u51fafeature map\uff08N\u4e2a\u8f93\u51fa\u901a\u9053\uff09\uff0cM\u4e2a\u8f93\u5165\u4f1a\u5206\u522b\u8fdb\u884c\u5377\u79ef\u8fd0\u7b97\u7136\u540e\u6c42\u548c\uff0c\u83b7\u5f97\u4e00\u5e45\u8f93\u51famap\u3002\u90a3\u4e48\u9700\u8981\u7684\u5377\u79ef\u6838\u6570\u91cf\u5c31\u662fM*N\u3002<\/p>\n \n\t<\/p>\n \n\t\u9488\u5bf9\u4e0a\u8ff0\u8ba1\u7b97\u7279\u70b9\uff0cEdgeBoard\u7684\u5377\u79ef\u5355\u5143\u91c7\u7528\u8109\u52a8\u9635\u5217\u7684\u6570\u636e\u6d41\u52a8\u7ed3\u6784\uff0c\u5c06\u6570\u636e\u5728PE\u4e4b\u95f4\u901a\u8fc7\u5bc4\u5b58\u5668<\/u>\u8fdb\u884c\u6253\u62cd\u64cd\u4f5c\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5728\u7b2c\u4e8c\u4e2aPE\u8ba1\u7b97\u7ed3\u679c\u51fa\u6765\u7684\u540c\u65f6\u5b8c\u6210\u548c\u524d\u4e00\u4e2aPE\u7684\u6c42\u548c\u3002\u8fd9\u6837\u53ef\u4ee5\u4f7f\u6570\u636e\u5728\u8fd0\u7b97\u5355\u5143\u7684\u9635\u5217\u4e2d\u8fdb\u884c\u6d41\u52a8\uff0c\u51cf\u5c11\u8bbf\u5b58\u7684\u6b21\u6570\uff0c\u5e76\u4e14\u7ed3\u6784\u66f4\u52a0\u89c4\u6574\uff0c\u5e03\u7ebf<\/u>\u66f4\u52a0\u7edf\u4e00\uff0c\u63d0\u9ad8\u7cfb\u7edf\u5de5\u4f5c\u9891\u7387\uff0c\u907f\u514d\u4e86\u91c7\u7528\u52a0\u6cd5\u6811\u7b49\u5e76\u884c\u7ed3\u6784\u6240\u9020\u6210\u7684\u9ad8\u6247\u51fa\u95ee\u9898\u3002<\/p>\n \n\t<\/p>\n \n\t\u56e0\u6b64\uff0c\u5982\u4e0a\u56fe\u6240\u793a\uff0c\u6211\u4eec\u53ef\u4ee5\u5206\u522b\u4eceFeature Map\u548cKernel\u4e24\u4e2a\u7ef4\u5ea6\u53bb\u5b9a\u4e49\u8109\u52a8\u9635\u5217\u7684\u5e76\u884c\u7ed3\u6784\u3002\u4eceFeature Map\u7684\u89d2\u5ea6\uff0c\u7eb5\u5411\u7684\u884c\u4e0e\u884c\u76f4\u63a5\u5377\u79ef\u7a97\u53e3\u76f8\u4e92\u72ec\u7acb\uff0c\u4e5f\u5c31\u662f\u8f93\u51fa\u7684\u6bcf\u884c\u4e4b\u95f4\u6240\u5bf9\u5e94\u7684\u6570\u636e\u8ba1\u7b97\u4e92\u4e0d\u5e72\u6270\uff0c\u5728\u6b64\u7ef4\u5ea6\u5b9a\u4e49\u7684\u591a\u5e76\u53d1\u8ba1\u7b97\u79f0\u4e4b\u4e3aWindow\u7ef4\u5ea6\u7684\u5e76\u884c\u5ea6\u3002\u4eceKernel\u7684\u89d2\u5ea6\uff0c\u4e3a\u4e86\u8fbe\u5230\u8ba1\u7b97\u7ed3\u679c\u7684\u5feb\u901f\u6d41\u51fa\u51cf\u5c11\u7247\u4e0a\u7f13\u5b58\u5360\u7528\uff0c\u6211\u4eec\u8bbe\u8ba1\u4e86\u6bcf\u4e2aKernel\u6838\u4e4b\u95f4\u7684\u591a\u5e76\u53d1\u8ba1\u7b97\uff0c\u79f0\u4e4b\u4e3aKernel\u7ef4\u5ea6\u7684\u5e76\u884c\u5ea6\u3002\u4ee5\u4e0a\u4e24\u4e2a\u7ef4\u5ea6\u540c\u65f6\u5e76\u53d1\u65e2\u53ef\u4ee5\u63d0\u9ad8\u6574\u4f53\u5e76\u884c\u8ba1\u7b97\u6548\u7387\uff0c\u4e5f\u5145\u5206\u5229\u7528\u4e86\u8109\u52a8\u9635\u5217\u7684\u6570\u636e\u6d41\u6c34\u7279\u6027\u3002<\/p>\n \n\t2.4 \u5377\u79ef\u8ba1\u7b97\u52a0\u901f\u5355\u5143\u7684\u901a\u7528\u6027\u6269\u5c55<\/p>\n \n\t\u524d\u4e00\u7ae0\u8282\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u57fa\u4e8ePL\u5b9e\u73b0\u7684\u5377\u79ef\u8ba1\u7b97\u52a0\u901f\u5355\u5143\u7684\u8bbe\u8ba1\u539f\u7406\uff0c\u90a3\u4e48\u5982\u679c\u662f\u7531\u4e8e\u82af\u7247\u7684SRAM<\/u>\u5b58\u50a8\u8d44\u6e90\u4e0d\u591f\u800c\u5bfc\u81f4\u7684CNN\u7f51\u7edc\u53c2\u6570\u652f\u6301\u8303\u56f4\u8f83\u5c0f\uff0cEdgeBoard\u5c06\u5982\u4f55\u62d3\u5c55CNN\u8f6f\u6838\u7684\u7f51\u7edc\u652f\u6301\u901a\u7528\u6027\uff1f \u6211\u4eec\u53ef\u4ee5\u5229\u7528\u7075\u6d3b\u7684SDK\u8c03\u5ea6\u7ba1\u7406\u5355\u5143\u63d0\u524d\u5c06Feature Map\u6216\u8005Kernel\u6570\u636e\u8fdb\u884c\u62c6\u5206\uff0c\u7136\u540e\u518d\u6267\u884c\u7b97\u5b50\u4efb\u52a1\u7684\u4e0b\u53d1\u3002<\/p>\n \n\t\u4e00\u6761\u6ed1\u7a97\u94fe\u7684Feature Map\u6570\u636e\u4e0d\u591f\u5b58\u50a8<\/strong><\/p>\n \n\tSDK\u53ef\u4ee5\u5c06\u4e00\u6761\u6ed1\u7a97\u94fe\u7684Feature Map\u6570\u636e\u5206\u6210B\u5757\uff0c\u5e76\u5c06\u5206\u5757\u6570B\u548c\u6bcf\u4e2a\u5757\u7684\u6570\u636e\u91cf\u544a\u8bc9\u5377\u79ef\u8ba1\u7b97\u52a0\u901f\u5355\u5143\uff0c\u90a3\u4e48\u540e\u8005\u5219\u53ef\u4ee5\u5206\u6279\u4f9d\u6b21\u4eceDDR\u8bfb\u53d6B\u6b21Feature Map\u6570\u636e\uff0c\u6bcf\u6b21\u7684\u6570\u636e\u91cf\u662f\u53ef\u4ee5\u5b58\u5165\u5230Image SRAM\u5185\u3002<\/p>\n \n\tKernel\u7684\u603b\u4f53\u6570\u636e\u4e0d\u591f\u5b58\u50a8<\/strong><\/p>\n \n\tSDK\u53ef\u4ee5\u5c06Kernel\u7684\u6570\u91cf\u5206\u5272\u6210S\u4efd\uff0c\u4f7f\u5f97\u5206\u5272\u540e\u7684\u6bcf\u4efdKernel\u6570\u91cf\u53ef\u4ee5\u4e0b\u53d1\u5230PL\u4fa7\u7684Filter SRAM\u4e2d\uff0c\u7136\u540eSDK\u5206\u522b\u8c03\u5ea6S\u6b21\u5377\u79ef\u7b97\u5b50\u6267\u884c\u64cd\u4f5c\uff0c\u6240\u6709\u7684\u6570\u636e\u8fd4\u56deDDR\u540e\uff0c\u518d\u4ece\u901a\u9053\uff08Channel\uff09\u7ef4\u5ea6\u505a\u8fd9S\u6b21\u8ba1\u7b97\u7ed3\u679c\u7684\u6570\u636e\u62fc\u63a5\uff08Concat\uff09\u5373\u53ef\u3002\u4e0d\u8fc7\u8981\u6ce8\u610f\u7684\u662f\uff0c\u6211\u4eec\u7684Filter SRAM\u867d\u7136\u4e0d\u9700\u5b58\u50a8\u6240\u6709Kernel\u7684\u6570\u636e\u91cf\uff0c\u4f46\u81f3\u5c11\u8981\u4fdd\u8bc1\u80fd\u591f\u5b58\u50a8\u4e00\u4e2aKernel\u7684\u6570\u636e\u91cf\u3002<\/p>\n \n\t\u7531\u6b64\u770b\u6765\uff0c\u5373\u4f7fEdgeBoard\u4e09\u5144\u5f1f\u4e2d\u6700\u5c0f\u7684FZ3\u62e5\u6709\u6781\u5176\u6709\u9650\u7684\u7247\u4e0a\u5b58\u50a8\u8d44\u6e90\uff0c\u4e5f\u662f\u80fd\u591f\u5f88\u597d\u5730\u5b8c\u6210\u5927\u591a\u6570CNN\u7f51\u7edc\u7684\u53c2\u6570\u9002\u914d\u3002<\/p>\n \n\tEdgeboard\u7684CNN\u8f6f\u6838\u9664\u4e86\u516c\u5f00\u53d1\u5e03\u7684\u6807\u51c6\u7248\u672c\u5916\uff0c\u8fd8\u53ef\u4ee5\u7531\u7528\u6237\u6839\u636e\u81ea\u8eab\u6a21\u578b\u9700\u6c42\u548cFPGA\u82af\u7247\u9009\u578b<\/u>\uff0c\u8fdb\u884cCNN\u5377\u79ef\u8ba1\u7b97\u5355\u5143\u7b97\u529b\u7684\u5b9a\u5236\u5316\u914d\u7f6e\u3002\u914d\u7f6e\u7b97\u529b\u7684\u4e24\u4e2a\u5173\u952e\u6307\u6807\u5305\u62ecWindow\u7ef4\u5ea6\u5e76\u884c\u5ea6\u548cKernel\u7ef4\u5ea6\u5e76\u884c\u5ea6\uff0c\u5177\u4f53\u542b\u4e49\u53ef\u53c2\u80032.3\u7ae0\u8282\uff0c\u6b64\u5904\u4e0d\u518d\u8d58\u8ff0\u3002<\/p>\n \n\t\u6211\u4eec\u4ee5\u5377\u79ef\u8ba1\u7b97\u52a0\u901f\u5355\u5143\u7684\u6838\u5fc3\u77e9\u9635\u4e58\u52a0\u8fd0\u7b97\u6d88\u8017DSP<\/u>\u786c\u6838\uff08Hard core\uff09\u7684\u4e2a\u6570\u4f5c\u4e3aCNN\u8f6f\u6838\u6838\u5fc3\u7b97\u529b\u7684\u8003\u5bdf\u6307\u6807\u3002\u5f53\u7136\uff0c\u8fd9\u5e76\u4e0d\u5305\u62ec\u5377\u79ef\u524d\u5904\u7406\u3001\u540e\u5904\u7406\u6a21\u5757\uff0c\u4ee5\u53ca\u5176\u4ed6\u7b97\u5b50\u52a0\u901f\u5355\u5143\u6216\u8005\u7528\u6237\u81ea\u5b9a\u4e49\u529f\u80fd\u6a21\u5757\u6240\u6d88\u8017\u7684DSP\u6570\u91cf\uff0c\u56e0\u6b64\u8fd9\u5e76\u4e0d\u662f\u6574\u4e2a\u89e3\u51b3\u65b9\u6848\u5728FPGA\u82af\u7247\u5185\u90e8\u7684DSP\u8d44\u6e90\u6d88\u8017\u3002\u6211\u4eec\u7684\u8bbe\u8ba1\u53ef\u4ee5\u652f\u6301Window\u5e76\u884c\u5ea61-8\u7684\u4efb\u610f\u6574\u6570\uff0c\u652f\u6301Kernel\u5e76\u884c\u5ea6\u5305\u62ec4\uff0c8\uff0c16\u3002\u5177\u4f53\u7684\u5377\u79ef\u53cc\u7ef4\u5ea6\u914d\u7f6e\u7ec4\u5408\u6240\u5bf9\u5e94\u7684\u6838\u5fc3DSP\u6d88\u8017\u53ef\u4ee5\u53c2\u89c1\u4e0b\u8868\u3002<\/p>\n \n\t<\/p>\n \n\t\u76ee\u524d\uff0cEdgeBoard\u516c\u5f00\u7248\u9488\u5bf9\u5377\u79ef\u8ba1\u7b97\u52a0\u901f\u5355\u5143Window\u7ef4\u5ea6\u548cKernel\u7ef4\u5ea6\u7684\u5e76\u884c\u5ea6\u914d\u7f6e\uff0c\u4ee5\u53ca\u6838\u5fc3\u77e9\u9635\u4e58\u52a0\u8fd0\u7b97\u7684DSP\u786c\u6838\u6d88\u8017\u53ef\u53c2\u89c1\u4e0b\u8868\u3002<\/p>\n \n\t<\/p>\n \n\tEdgeBoard\u7684CNN\u8f6f\u6838\u4ee5\u5176\u7075\u6d3b\u7684\u7b97\u529b\u642d\u914d\u7ec4\u5408\u4ee5\u53ca\u7b97\u5b50\u53ef\u5b9a\u5236\u5316\u7684\u7279\u70b9\uff0c\u65e2\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u6a21\u578b\u7684\u7b97\u5b50\u7ec4\u5408\u548c\u6240\u5360\u6bd4\u4f8b\uff0c\u5c06\u4e00\u5b9a\u6210\u672c\u548c\u8d44\u6e90\u6761\u4ef6\u5185\u7684\u82af\u7247\u6027\u80fd\u53d1\u6325\u5230\u6781\u81f4\uff0c\u8fd8\u53ef\u4ee5\u5728\u6ee1\u8db3\u573a\u666f\u6240\u8981\u6c42\u6027\u80fd\u7684\u524d\u63d0\u4e0b\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u529f\u8017\u652f\u51fa\uff0c\u6b64\u5916\u8fd8\u5141\u8bb8\u5f00\u53d1\u8005\u7f29\u51cf\u8f6f\u6838\u5c3a\u5bf8\u5e76\u5c06\u82af\u7247\u8d44\u6e90\u5e94\u7528\u4e8e\u81ea\u5b9a\u4e49\u529f\u80fd\u7684IP\u4e2d\uff0c\u6781\u5927\u5730\u589e\u5f3a\u4e86EdgeBoard\u4eba\u5de5\u667a\u80fd\u591a\u573a\u666f\u8986\u76d6\u7684\u80fd\u529b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u4eba\u5de5\u667a\u80fd\u9886\u57df\u8fb9\u7f18\u4fa7\u7684\u5e94\u7528\u573a\u666f\u591a\u79cd\u591a\u6837\uff0c\u5728\u529f\u80fd\u3001\u6027\u80fd\u3001\u529f\u8017\u3001\u6210\u672c\u7b49\u65b9\u9762\u5b58\u5728\u5dee\u5f02\u5316\u7684\u9700\u6c42\uff0c\u56e0\u6b64\u4e00\u6b3e\u4f18\u79c0\u7684\u4eba\u5de5\u667a\u80fd\u8fb9\u7f18\u8ba1\u7b97\u5e73\u53f0\uff0c\u5e94\u5f53\u5177\u5907\u7075\u6d3b\u5feb\u901f\u9002\u914d\u5168\u573a\u666f\u7684\u80fd\u529b\uff0c\u80fd\u591f\u5728<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/3010"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3010"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/3010\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3010"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n\t1. EdgeBoard\u8ba1\u7b97\u5e73\u53f0\u7684\u591a\u4ea7\u54c1\u77e9\u9635<\/h2>\n
\n\t2. \u9ad8\u6027\u80fd\u7684\u901a\u7528CNN\u8bbe\u8ba1\u67b6\u6784<\/h2>\n
\n\t3.\u8f6f\u6838\u7b97\u529b\u7684\u5f39\u6027\u914d\u7f6e<\/h2>\n