feat: 补全优化了ML测试内容,添加测试脚本和数据集,改为相对路径

This commit is contained in:
2025-11-25 10:32:13 +00:00
parent 28154c2a31
commit a170e7384f
3 changed files with 665 additions and 9 deletions

13
benchmark.sh Executable file
View File

@@ -0,0 +1,13 @@
# cmake -DSQISIGN_BUILD_TYPE=ref -DCMAKE_BUILD_TYPE=Release ..
# 包含完整跑分和验证的测试脚本
# BASE_DIR="./build_Neon_ml"
BASE_DIR="./build_baseline"
echo "------------------------start benchmark------------------------------"
$BASE_DIR/apps/benchmark_lvl1 --iterations=100 >> $BASE_DIR/test_result.txt
$BASE_DIR/apps/benchmark_lvl3 --iterations=100 >> $BASE_DIR/test_result.txt
$BASE_DIR/apps/benchmark_lvl5 --iterations=100 >> $BASE_DIR/test_result.txt
echo "-------------------------end benchmark-----------------------------"