modify nnie scripts

This commit is contained in:
jianghui58 2021-07-13 15:09:34 +08:00
parent 41d19f60da
commit 6e2000c4a7
1 changed files with 2 additions and 7 deletions

View File

@ -54,16 +54,11 @@ function Run_Hi3516() {
tar -zxf mindspore-lite-${version}-linux-aarch32.tar.gz || exit 1
cd ${arm32_path}/mindspore-lite-${version}-linux-aarch32 || return 1
if [ -f "./providers/Hi3516D/benchmark" ]; then
chmod +x ./providers/Hi3516D/benchmark
cp -a ./providers/Hi3516D/benchmark ${benchmark_test_path}/benchmark
elif [ -f "./tools/benchmark/benchmark" ]; then
chmod +x ./tools/benchmark/benchmark
cp -a ./tools/benchmark/benchmark ${benchmark_test_path}/benchmark
fi
chmod +x ./tools/benchmark/benchmark
# copy related files to benchmark_test
cp -a ./providers/Hi3516D/libmslite_nnie.so ${benchmark_test_path}/libmslite_nnie.so || exit 1
cp -a ./providers/Hi3516D/libmslite_proposal.so ${benchmark_test_path}/libmslite_proposal.so || exit 1
cp -a ./tools/benchmark/benchmark ${benchmark_test_path}/benchmark
cp -a ./runtime/lib/libmindspore-lite.so ${benchmark_test_path}/libmindspore-lite.so || exit 1
# cp files to nfs shared folder