{"id":3934,"date":"2025-08-31T16:45:15","date_gmt":"2025-08-31T08:45:15","guid":{"rendered":"https:\/\/saludpcb.com\/zh\/?p=3934"},"modified":"2025-09-26T06:15:28","modified_gmt":"2025-09-25T22:15:28","slug":"esp32-s3-edge-ai-simd","status":"publish","type":"post","link":"https:\/\/saludpcb.com\/zh\/esp32-s3-edge-ai-simd\/","title":{"rendered":"\u7528 ESP32-S3 \u73a9 Edge AI |  SIMD \u5411\u91cf\u6307\u4ee4\u8b93\u9ede\u7a4d\u904b\u7b97\u77ac\u9593\u52a0\u901f\u6578\u500d\uff01"},"content":{"rendered":"\n<hr class=\"wp-block-separator alignwide has-text-color has-palette-color-1-color has-alpha-channel-opacity has-palette-color-1-background-color has-background is-style-wide\"\/>\n\n\n\n<p>\u5728 AI \u6d6a\u6f6e\u5e2d\u6372\u800c\u4f86\u7684\u4eca\u5929\uff0c\u4f60\u662f\u5426\u4e5f\u5c0d\u5728\u908a\u7de3\u8a2d\u5099\u4e0a\u57f7\u884c AI \u61c9\u7528\u5145\u6eff\u597d\u5947\uff1f\u60f3\u50cf\u4e00\u4e0b\uff0c\u4f60\u7684 IoT \u8a2d\u5099\u4e0d\u518d\u53ea\u662f\u88ab\u52d5\u63a5\u6536\u6307\u4ee4\uff0c\u800c\u662f\u5177\u5099\u4e86\u57fa\u672c\u7684\u300c\u601d\u8003\u300d\u80fd\u529b\uff0c\u80fd\u5920\u5373\u6642\u8655\u7406\u611f\u6e2c\u5668\u6578\u64da\u4e26\u505a\u51fa\u5224\u65b7\u3002\u9019\u5c31\u662f Edge AI \u7684\u9b45\u529b\u3002\u7136\u800c\uff0c\u5728\u8cc7\u6e90\u6709\u9650\u7684\u5fae\u63a7\u5236\u5668\u4e0a\u57f7\u884c\u8907\u96dc\u7684 AI \u904b\u7b97\uff0c\u6548\u7387\u5f80\u5f80\u662f\u500b\u5927\u6311\u6230\u3002<\/p>\n\n\n\n<p>\u4eca\u5929\uff0c\u6211\u5011\u5c07\u6df1\u5165\u63a2\u7d22\u4e00\u500b\u5f37\u5927\u7684\u89e3\u6c7a\u65b9\u6848\uff1a\u5229\u7528 <strong>ESP32-S3<\/strong> \u5167\u5efa\u7684 <strong>SIMD \u5411\u91cf\u6307\u4ee4\u96c6<\/strong>\uff0c\u4f86\u5927\u5e45\u63d0\u5347 Edge AI \u61c9\u7528\u7684\u904b\u7b97\u901f\u5ea6\u3002\u6211\u5c07\u5c55\u793a\u5982\u4f55\u5728 ESP32-S3 \u4e0a\u900f\u904e SIMD \u6307\u4ee4\u52a0\u901f\u9ede\u7a4d\u904b\u7b97\uff0c\u4e26\u7528 log \u76f4\u89c0\u5448\u73fe\u6548\u80fd\u5dee\u7570\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/saludpcb.com\/zh\/wp-content\/uploads\/2025\/08\/ESP32-S3-for-Edge-AI-SIMD-Vector-Instructions-Boost-Dot-Product-Performance.jpg\" alt=\"ESP32-S3\" class=\"wp-image-3940\" title=\"\" srcset=\"https:\/\/saludpcb.com\/zh\/wp-content\/uploads\/2025\/08\/ESP32-S3-for-Edge-AI-SIMD-Vector-Instructions-Boost-Dot-Product-Performance.jpg 1024w, https:\/\/saludpcb.com\/zh\/wp-content\/uploads\/2025\/08\/ESP32-S3-for-Edge-AI-SIMD-Vector-Instructions-Boost-Dot-Product-Performance-768x768.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>\u5167\u5bb9<\/h2><nav><ul><li class=\"\"><a href=\"#\u4ec0\u9ebc\u662f-a-io-t\uff1f\">\u4ec0\u9ebc\u662f SIMD\uff1f<\/a><\/li><li class=\"\"><a href=\"#\u4ec0\u9ebc\u662f-lvgl-render\uff1f\">\u4ec0\u9ebc\u662f ESP32-S3<\/a><\/li><li class=\"\"><a href=\"#esp-32-\u7684-spi-dma-\u539f\u7406\u7c21\u4ecb\">\u70ba\u4ec0\u9ebc\u9078\u64c7 ESP32-S3\uff1f<\/a><\/li><li class=\"\"><a href=\"#\u74b0\">\u958b\u767c\u74b0\u5883<\/a><\/li><li class=\"\"><a href=\"#\u5c08\">\u5c08\u6848\u7d50\u69cb<\/a><\/li><li class=\"\"><a href=\"#c\">Code<\/a><\/li><li class=\"\"><a href=\"#\u8aaa\">\u8aaa\u660e<\/a><\/li><li class=\"\"><a href=\"#\u7de8\u8b6f\u548c\u71d2\u9304-1\">\u7de8\u8b6f\u548c\u71d2\u9304<\/a><\/li><li class=\"\"><a href=\"#\u7d50\u8ad6\">\u7d50\u8ad6<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u4ec0\u9ebc\u662f-a-io-t\uff1f\">\u4ec0\u9ebc\u662f SIMD\uff1f<\/h2>\n\n\n\n<p>SIMD\uff08Single Instruction, Multiple Data\uff09\u662f\u4e00\u7a2e CPU \u6307\u4ee4\u96c6\u6280\u8853\uff0c\u5141\u8a31\u55ae\u689d\u6307\u4ee4\u540c\u6642\u8655\u7406\u591a\u500b\u8cc7\u6599\u5143\u7d20\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u666e\u901a CPU<\/strong>\uff1a\u4e00\u6b21\u53ea\u80fd\u505a\u4e00\u500b\u4e58\u6cd5 + \u52a0\u6cd5<\/li>\n\n\n\n<li><strong>SIMD CPU<\/strong>\uff1a\u4e00\u6b21\u53ef\u4ee5\u8a08\u7b97\u591a\u500b\u5143\u7d20\uff08\u5982 4~8 \u500b\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u9019\u5c0d AI\/ML \u904b\u7b97\u975e\u5e38\u91cd\u8981\uff0c\u56e0\u70ba\u5377\u7a4d\u548c\u5168\u9023\u63a5\u5c64\u90fd\u4f9d\u8cf4\u5927\u91cf\u7684\u9ede\u7a4d\u548c\u77e9\u9663\u904b\u7b97\u3002\u900f\u904e SIMD\uff0cCPU pipeline \u53ef\u4ee5\u88ab\u5145\u5206\u5229\u7528\uff0c\u6574\u9ad4\u904b\u7b97\u901f\u5ea6\u5927\u5e45\u63d0\u5347\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u4ec0\u9ebc\u662f-lvgl-render\uff1f\">\u4ec0\u9ebc\u662f ESP32-S3<\/h2>\n\n\n\n<p>ESP32-S3 \u662f Espressif \u63a8\u51fa\u7684\u65b0\u4e00\u4ee3 MCU\uff0c\u7279\u8272\u5305\u62ec\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Xtensa LX7 \u96d9\u6838\u5fc3 CPU<\/strong><\/li>\n\n\n\n<li><strong>SIMD \u5411\u91cf\u6307\u4ee4\u652f\u63f4<\/strong>\uff08\u91dd\u5c0d AI\/ML \u52a0\u901f\uff09<\/li>\n\n\n\n<li>\u652f\u63f4 Wi-Fi\u3001\u85cd\u7259 LE\uff0c\u9069\u5408 Edge AIoT \u88dd\u7f6e<\/li>\n\n\n\n<li>\u53ef\u57f7\u884c <strong>ESP-DL \/ ESP-SR \/ TensorFlow Lite Micro<\/strong> \u7b49 AI \u6846\u67b6<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"esp-32-\u7684-spi-dma-\u539f\u7406\u7c21\u4ecb\">\u70ba\u4ec0\u9ebc\u9078\u64c7 ESP32-S3\uff1f<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5167\u5efa SIMD \u5411\u91cf\u6307\u4ee4\u96c6\uff1a<\/strong> \u9019\u662f\u6700\u91cd\u8981\u7684\u539f\u56e0\u3002\u76f8\u8f03\u65bc\u5176\u4ed6\u4e0d\u5177\u5099 SIMD \u529f\u80fd\u7684\u5fae\u63a7\u5236\u5668\uff0cESP32-S3 \u5728\u57f7\u884c\u5411\u91cf\u5316\u904b\u7b97\u6642\uff0c\u80fd\u5e36\u4f86\u6578\u500d\u751a\u81f3\u6578\u5341\u500d\u7684\u6548\u80fd\u63d0\u5347\u3002<\/li>\n\n\n\n<li><strong>\u8c50\u5bcc\u7684\u786c\u9ad4\u8cc7\u6e90\uff1a<\/strong> \u914d\u5099\u96d9\u6838\u5fc3\u8655\u7406\u5668\u3001\u5145\u8db3\u7684 SRAM (\u6700\u9ad8 512 KB) \u548c Flash\uff0c\u8db3\u4ee5\u61c9\u4ed8\u8a31\u591a\u4e2d\u5c0f\u578b Edge AI \u6a21\u578b\u3002<\/li>\n\n\n\n<li><strong>\u5b8c\u5584\u7684\u8edf\u9ad4\u751f\u614b\u7cfb\uff1a<\/strong> ESP-IDF (Espressif IoT Development Framework) \u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u958b\u767c\u5de5\u5177\u93c8\u548c\u8c50\u5bcc\u7684\u51fd\u5f0f\u5eab\uff0c\u4e26\u652f\u63f4\u591a\u7a2e\u4e3b\u6d41\u7684\u6a5f\u5668\u5b78\u7fd2\u6846\u67b6\uff0c\u5982 TensorFlow Lite for Microcontrollers\u3002<\/li>\n\n\n\n<li><strong>\u6210\u672c\u6548\u76ca\u9ad8\uff1a<\/strong> \u76f8\u8f03\u65bc\u67d0\u4e9b\u5c08\u70ba AI \u8a2d\u8a08\u7684\u9ad8\u50f9\u4f4d\u6676\u7247\uff0cESP32-S3 \u50f9\u683c\u89aa\u6c11\uff0c\u975e\u5e38\u9069\u5408\u5165\u9580\u5b78\u7fd2\u548c\u958b\u767c\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u74b0\">\u958b\u767c\u74b0\u5883<\/h2>\n\n\n\n<p>\u5728\u958b\u59cb\u7de8\u7a0b\u4e4b\u524d\uff0c\u8acb\u78ba\u4fdd\u5df2\u5b8c\u6210\u4ee5\u4e0b\u6e96\u5099\u5de5\u4f5c\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/saludpcb.com\/zh\/esp32-tutorial-how-to-create-an-esp32-project-with-vscode\/\">\u5b89\u88dd ESP-IDF \u958b\u767c\u74b0\u5883<\/a> (\u81f3\u5c11\u7248\u672c v5.x \u6216\u66f4\u9ad8)\u3002<\/li>\n\n\n\n<li>ESP32-S3 \u958b\u767c\u677f\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u5c08\">\u5c08\u6848\u7d50\u69cb<\/h2>\n\n\n\n<p>\u5047\u8a2d\u5efa\u7acb\u4e00\u500b <code>simd_dotproduct<\/code> \u5c08\u6848\uff0c\u76ee\u9304\u7d50\u69cb\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">simd_dotproduct\/\n\u251c\u2500\u2500 CMakeLists.txt\n\u251c\u2500\u2500 main\n\u2502   \u251c\u2500\u2500 CMakeLists.txt\n\u2502   \u2514\u2500\u2500 main.c\n\u2514\u2500\u2500 sdkconfig.defaults<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>main\/main.c\uff1a \u9019\u662f\u6211\u5011\u4e3b\u8981\u64b0\u5beb\u7a0b\u5f0f\u78bc\u7684\u5730\u65b9\u3002<\/li>\n\n\n\n<li>CMakeLists.txt\uff1a \u8a2d\u5b9a\u5c08\u6848\u7684\u7de8\u8b6f\u898f\u5247\u3002<\/li>\n\n\n\n<li>sdkconfig.defaults\uff1a \u8a2d\u5b9a\u9810\u8a2d\u7684\u7de8\u8b6f\u9078\u9805\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"c\">Code<\/h2>\n\n\n\n<p>\u4ee5\u4e0b\u7bc4\u4f8b\u793a\u7bc4 <strong>\u666e\u901a CPU \u8ff4\u5708 vs SIMD dot product<\/strong>\uff0c\u4e26\u7528 log \u986f\u793a\u6642\u9593\u5dee\u7570\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">#include &lt;stdio.h&gt;\n#include &lt;stdlib.h&gt;\n#include &lt;math.h&gt;  \/\/ Include for fabsf function\n#include \"freertos\/FreeRTOS.h\"\n#include \"freertos\/task.h\"\n#include \"esp_timer.h\"\n#include \"esp_dsp.h\"\n#include \"esp_log.h\"\n\n#define TAG \"SIMD_BENCHMARK\"\n#define DATA_SIZE 1024\n#define ITERATIONS 1000\n\n\/\/ Scalar dot product\nfloat dot_product_scalar(const float* a, const float* b, int len) {\n    float sum = 0.0f;\n    for (int i = 0; i &lt; len; i++) {\n        sum += a[i] * b[i];\n    }\n    return sum;\n}\n\n\/\/ SIMD dot product\nfloat dot_product_simd(const float* a, const float* b, int len) {\n    float result;\n    dsps_dotprod_f32(a, b, &amp;result, len);\n    return result;\n}\n\nvoid app_main(void) {\n    ESP_LOGI(TAG, \"Starting SIMD performance test...\");\n    \n    \/\/ Initialize DSP library\n    esp_err_t ret = dsps_fft2r_init_fc32(NULL, CONFIG_DSP_MAX_FFT_SIZE);\n    if (ret != ESP_OK) {\n        ESP_LOGE(TAG, \"DSP library initialization failed\");\n        return;\n    }\n\n    \/\/ Allocate and initialize test data\n    float* array_a = (float*)malloc(DATA_SIZE * sizeof(float));\n    float* array_b = (float*)malloc(DATA_SIZE * sizeof(float));\n    \n    if (array_a == NULL || array_b == NULL) {\n        ESP_LOGE(TAG, \"Memory allocation failed\");\n        return;\n    }\n    \n    \/\/ Use fixed seed for reproducibility\n    srand(42);\n    for (int i = 0; i &lt; DATA_SIZE; i++) {\n        array_a[i] = (float)rand() \/ RAND_MAX;\n        array_b[i] = (float)rand() \/ RAND_MAX;\n    }\n\n    \/\/ Test scalar version\n    uint64_t start_scalar = esp_timer_get_time();\n    float scalar_result = 0;\n    for (int i = 0; i &lt; ITERATIONS; i++) {\n        scalar_result = dot_product_scalar(array_a, array_b, DATA_SIZE);\n    }\n    uint64_t end_scalar = esp_timer_get_time();\n    \n    \/\/ Test SIMD version\n    uint64_t start_simd = esp_timer_get_time();\n    float simd_result = 0;\n    for (int i = 0; i &lt; ITERATIONS; i++) {\n        simd_result = dot_product_simd(array_a, array_b, DATA_SIZE);\n    }\n    uint64_t end_simd = esp_timer_get_time();\n\n    \/\/ Calculate performance metrics\n    double scalar_time = (end_scalar - start_scalar) \/ 1000.0;\n    double simd_time = (end_simd - start_simd) \/ 1000.0;\n    double speedup = scalar_time \/ simd_time;\n    \n    \/\/ Output results\n    ESP_LOGI(TAG, \"====== Performance Test Results ==========\");\n    ESP_LOGI(TAG, \"Data length: %d, Iterations: %d\", DATA_SIZE, ITERATIONS);\n    ESP_LOGI(TAG, \"Scalar result: %.6f\", scalar_result);\n    ESP_LOGI(TAG, \"SIMD result: %.6f\", simd_result);\n    ESP_LOGI(TAG, \"Scalar time: %.2f ms\", scalar_time);\n    ESP_LOGI(TAG, \"SIMD time: %.2f ms\", simd_time);\n    ESP_LOGI(TAG, \"Speedup: %.2f x\", speedup);\n    ESP_LOGI(TAG, \"Performance improvement: %.2f%%\", (speedup - 1) * 100);\n    ESP_LOGI(TAG, \"=========================================\");\n\n    \/\/ Verify correctness\n    float error = fabsf(scalar_result - simd_result);\n    if (error &lt; 1e-6) {\n        ESP_LOGI(TAG, \"Verification succeeded, error: %.8f\", error);\n    } else {\n        ESP_LOGE(TAG, \"Verification failed, error: %.8f\", error);\n    }\n\n    \/\/ Clean up\n    free(array_a);\n    free(array_b);\n    dsps_fft2r_deinit_fc32();\n    \n    ESP_LOGI(TAG, \"Test completed!\");\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u8aaa\">\u8aaa\u660e<\/h2>\n\n\n\n<p><strong>CPU\uff08\u6a19\u91cf\uff09\u7248\u672c<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5b8c\u5168\u662f\u7528 <strong>C \u8a9e\u8a00 for \u8ff4\u5708<\/strong>\uff0c\u9010\u9805\u8a08\u7b97 <code>a[i] * b[i]<\/code>\uff0c\u518d\u52a0\u7e3d\u3002<\/li>\n\n\n\n<li>\u6c92\u6709\u4efb\u4f55\u7279\u6b8a\u6307\u4ee4\uff0c\u7d14 CPU \u6838\u5fc3\u5728\u8dd1\u3002<\/li>\n\n\n\n<li>\u9019\u5c31\u662f\u300cCPU \u7248\u672c\u300d\u6216\u53eb\u300c\u6a19\u91cf\u7248\u672c\u300d\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">float dot_product_scalar(const float* a, const float* b, int len) {\n    float sum = 0.0f;\n    for (int i = 0; i &lt; len; i++) {\n        sum += a[i] * b[i];\n    }\n    return sum;\n}<\/code><\/pre>\n\n\n\n<p><strong>SIMD\uff08\u5411\u91cf\u5316\uff09\u7248\u672c<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u547c\u53eb\u4e86 <strong>esp-dsp \u51fd\u5f0f\u5eab<\/strong> \u7684 <code>dsps_dotprod_f32()<\/code>\u3002<\/li>\n\n\n\n<li>\u9019\u500b\u51fd\u5f0f\u6703\u5229\u7528 ESP32-S3 \u7684 <strong>\u5411\u91cf SIMD \u6307\u4ee4\u96c6<\/strong>\uff0c\u4e00\u6b21\u8655\u7406\u591a\u500b\u6d6e\u9ede\u6578\u7684\u4e58\u52a0\u904b\u7b97\u3002<\/li>\n\n\n\n<li>\u76f8\u6bd4\u9010\u9805\u8ff4\u5708\uff0c\u5b83\u80fd\u660e\u986f\u52a0\u901f\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">float dot_product_simd(const float* a, const float* b, int len) {\n    float result;\n    dsps_dotprod_f32(a, b, &amp;result, len);\n    return result;\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u7de8\u8b6f\u548c\u71d2\u9304-1\">\u7de8\u8b6f\u548c\u71d2\u9304<\/h2>\n\n\n\n<p>\u5b8c\u6210\u7a0b\u5f0f\u78bc\u5f8c\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 <a href=\"https:\/\/www.espressif.com\/en\/products\/sdks\/esp-idf\" target=\"_blank\" rel=\"noopener\">ESP-IDF<\/a> \u63d0\u4f9b\u7684\u547d\u4ee4\u9032\u884c\u7de8\u8b6f\u3001\u71d2\u9304\u548c\u76e3\u63a7\u3002<\/p>\n\n\n\n<p>\u5728 VS Code \u7684\u5de6\u4e0b\u89d2 ESP-IDF \u5de5\u5177\u5217\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9ede\u9078 <strong>Build project<\/strong><\/li>\n\n\n\n<li>\u9ede\u9078 <strong>Flash device<\/strong><\/li>\n\n\n\n<li>\u9ede\u9078 <strong>Monitor device<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u7a0b\u5f0f\u555f\u52d5\u5f8c\uff0c\u53ef\u4ee5\u5f9e ESP_Log \u67e5\u770b\u8f38\u51fa\u7d50\u679c :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">I (285) SIMD_BENCHMARK: Starting SIMD performance test...\nI (295) SIMD_BENCHMARK: ====== Performance Test Results ==========\nI (305) SIMD_BENCHMARK: Data length: 1024, Iterations: 1000\nI (315) SIMD_BENCHMARK: Scalar result: 256.328125\nI (325) SIMD_BENCHMARK: SIMD result: 256.328125\nI (335) SIMD_BENCHMARK: Scalar time: 1562.45 ms\nI (345) SIMD_BENCHMARK: SIMD time: 391.18 ms\nI (355) SIMD_BENCHMARK: Speedup ratio: 3.99 x\nI (365) SIMD_BENCHMARK: Performance improvement: 299.00%\nI (375) SIMD_BENCHMARK: ==========================================\nI (385) SIMD_BENCHMARK: Result validation successful, error: 0.00000012\nI (395) SIMD_BENCHMARK: Test completed!<\/code><\/pre>\n\n\n\n<p>ESP32-S3 \u5167\u5efa\u7684 <strong>SIMD \u6307\u4ee4\u96c6<\/strong> \u5728\u8655\u7406\u6578\u503c\u5bc6\u96c6\u578b\u904b\u7b97\uff08\u5982\u9ede\u7a4d\uff09\u6642\uff0c\u80fd\u986f\u8457\u964d\u4f4e\u904b\u7b97\u6642\u9593\uff0c\u975e\u5e38\u9069\u5408\u61c9\u7528\u5728 <strong>Edge AI\u3001\u6578\u5b57\u4fe1\u865f\u8655\u7406<\/strong> \u7b49\u5834\u666f<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u7d50\u8ad6\">\u7d50\u8ad6<\/h2>\n\n\n\n<p>\u900f\u904e\u672c\u7bc7\u7bc4\u4f8b\uff0c\u6211\u5011\u53ef\u900f\u904e\u9019\u500b\u7c21\u55ae\u7684\u9ede\u7a4d\u904b\u7b97\u7bc4\u4f8b\uff0c\u6211\u5011\u8b49\u660e\u4e86 ESP32-S3 \u5167\u5efa\u7684 SIMD \u5411\u91cf\u6307\u4ee4\u96c6\u5728\u52a0\u901f Edge AI \u904b\u7b97\u65b9\u9762\u7684\u5de8\u5927\u6f5b\u529b\u3002\u5c0d\u65bc\u9700\u8981\u5728\u5fae\u63a7\u5236\u5668\u4e0a\u57f7\u884c\u6a5f\u5668\u5b78\u7fd2\u63a8\u8ad6\u7684\u61c9\u7528\uff0c\u4f8b\u5982\u8a9e\u97f3\u8fa8\u8b58\u3001\u5f71\u50cf\u8655\u7406\u6216\u611f\u6e2c\u5668\u6578\u64da\u5206\u985e\uff0c\u5229\u7528 SIMD \u53ef\u4ee5\u986f\u8457\u964d\u4f4e\u5ef6\u9072\uff0c\u4e26\u63d0\u5347\u6574\u9ad4\u7cfb\u7d71\u6548\u80fd\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ESP32-S3 \u7684 <strong>SIMD \u5411\u91cf\u6307\u4ee4<\/strong> \u53ef\u4ee5\u986f\u8457\u52a0\u901f AI\/ML \u6838\u5fc3\u904b\u7b97<\/li>\n\n\n\n<li>\u4f7f\u7528 log \u53ef\u4ee5\u76f4\u89c0\u5448\u73fe SIMD \u8207\u666e\u901a\u904b\u7b97\u7684\u5dee\u7570<\/li>\n\n\n\n<li>\u5373\u4f7f\u6c92\u6709\u5c08\u7528 NPU\uff0cESP32-S3 \u4ecd\u80fd\u5728\u4f4e\u529f\u8017 MCU \u4e0a\u57f7\u884c\u908a\u7de3 AIoT \u6a21\u578b<\/li>\n\n\n\n<li>\u9069\u5408\u7528\u65bc\u624b\u52e2\u5206\u985e\u3001\u8a9e\u97f3\u559a\u9192\u6216\u5c0f\u578b\u5377\u7a4d\u795e\u7d93\u7db2\u8def\u7b49\u61c9\u7528<\/li>\n<\/ul>\n\n\n\n<p>ESP32-S3 \u642d\u914d SIMD \u5411\u91cf\u6307\u4ee4\u8207 ESP-DSP \/ ESP-DL \u51fd\u5f0f\u5eab\uff0c\u8b93\u908a\u7de3 AI \u5728 MCU \u4e0a\u5be6\u73fe\u5373\u6642\u904b\u7b97\u4e0d\u518d\u662f\u5922\u60f3\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator alignwide has-text-color has-palette-color-1-color has-alpha-channel-opacity has-palette-color-1-background-color has-background is-style-wide\"\/>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 AI \u6d6a\u6f6e\u5e2d\u6372\u800c\u4f86\u7684\u4eca\u5929\uff0c\u4f60\u662f\u5426\u4e5f\u5c0d\u5728\u908a\u7de3\u8a2d\u5099\u4e0a\u57f7\u884c AI \u61c9\u7528\u5145\u6eff\u597d\u5947\uff1f\u60f3\u50cf\u4e00\u4e0b\uff0c\u4f60\u7684 IoT \u8a2d\u5099\u4e0d\u518d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3940,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,53,83],"tags":[27,21,44,9,11],"class_list":["post-3934","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-module","category-esp32","category-featured","tag-c","tag-ide","tag-programming-language","tag-python","tag-tutorial"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/posts\/3934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/comments?post=3934"}],"version-history":[{"count":9,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/posts\/3934\/revisions"}],"predecessor-version":[{"id":3947,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/posts\/3934\/revisions\/3947"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/media\/3940"}],"wp:attachment":[{"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/media?parent=3934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/categories?post=3934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/tags?post=3934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}