ss928_framework/libapi
leon 0a34d62b35 fix(代码优化): 优化了yolov5数据处理过程中的内存使用
1. 在处理yolov5输出数据时,替换了使用memcpy进行内存复制的操作,直接使用原数据进行赋值,减少了内存复制的开销。
2. 在处理完数据后,将ncnn::Mat的data指针设置为nullptr,避免了原数据在ncnn::Mat析构时被释放导致的内存访问异常。这一改动确保了数据的稳定性和安全性。
2025-01-25 10:29:05 +08:00
..
ive first commit 2024-12-16 13:31:45 +08:00
sort first commit 2024-12-16 13:31:45 +08:00
svp_npu fix(代码优化): 优化了yolov5数据处理过程中的内存使用 2025-01-25 10:29:05 +08:00
sys first commit 2024-12-16 13:31:45 +08:00
thead first commit 2024-12-16 13:31:45 +08:00
LibApi.cpp first commit 2024-12-16 13:31:45 +08:00
LibApi.h first commit 2024-12-16 13:31:45 +08:00