
模型已经通过X-CUBE-AI部署到工程内部, void MX_X_CUBE_AI_Process(void) { / USER CODE BEGIN 6 / LL_ATON_RT_RetValues_t ll_aton_rt_ret = LL_ATON_RT_DONE; const LL_Buffer_InfoTypeDef * ibuffersInfos = NN_Interface_Default.input_buffers_info(); const LL_Buffer_InfoTypeDef * obuffersInfos = NN_Interface_Default.output_buffers_info(); buffer_in = (uint8_t *)LL_Buffer_addr_start(&ibuffersInfos[0]); buffer_out = (uint8_t *)LL_Buffer_addr_start(&obuffersInfos[0]); LL_ATON_RT_RuntimeInit(); // run 10 inferences for (int inferenceNb = 0; inferenceNb<10; ++inferenceNb) { / ------------- / / - Inference - / / ------------- / / Pre-process and fill the input buffer / //_pre_process(buffer_in); / Perform the inference / LL_ATON_RT_Init_Network(&NN_Instance_Default); // Initialize passed network instance object do { / Execute first/next step / ll_aton_rt_ret = LL_ATON_RT_RunEpochBlock(&NN_Instance_Default); / Wait for next event / if (ll_aton_rt_ret == LL_ATON_RT_WFE) {
} } while (ll_aton_rt_ret != LL_ATON_RT_DONE); / Post-process the output buffer / / Invalidate the associated CPU cache region if requested / //_post_process(buffer_out); LL_ATON_RT_DeInit_Network(&NN_Instance_Default); / -------------------- / / - End of Inference - / / -------------------- / } LL_ATON_RT_RuntimeDeInit(); / USER CODE END 6 / } 看到MX_X_CUBE_AI_Process函数,那些函数是设置输入数据缓冲区和输出数据缓冲区?有没有对应的API接口文档 |
咨询一下STM32N6系列的下载问题
stm32N6 mipi csi无法收到高速信号
STM32N6的CSI接收mipi信号时,进入数据线错误控制中断
STM32N657X0,有人试过FSBL增加IAP串口烧录功能吗,目前烧录进去跳转不了
stm32n6570dk如何解锁保护程序?
stm32上部署yolo的问题
LL_ATON库的LL_ARITHACC算数单元AFFINE运算结果与预期不符合?
STM32N6的DCMIPP能直接把接收到的YUV422数据转化成RGB565吗
STM32_ImageProcessing_Library 如何实现 图片 去掉 背景?
This example describes how to configure the FMC controller to access the SDRAM memory in low power mode