!33394 [MS][LITE]Fix croped size

Merge pull request !33394 from gongdaguo1/fix_croped_size
This commit is contained in:
i-robot 2022-04-22 06:03:16 +00:00 committed by Gitee
commit 4d088ae2c7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 5 additions and 3 deletions

View File

@ -1 +1,2 @@
1030424
Note: This is the mindspore Lite inference framework size threshold. Modifying this threshold requires meeting review.
1032472

View File

@ -1 +1,2 @@
1030424
Note: This is the mindspore Lite inference framework size threshold. Modifying this threshold requires meeting review.
1032472

View File

@ -99,7 +99,7 @@ function Run_cropping() {
ls -l libmindspore-lite.so || exit 1
ls -l -h libmindspore-lite.so || exit 1
so_size=`ls libmindspore-lite.so -l|awk -F ' ' '{print $5}'`
calib_size=`cat ${cropped_size_config}`
calib_size=`tail -1 ${cropped_size_config}`
echo "now size:${so_size}." >> "${run_cropper_result}";
echo "calib_size size:${calib_size}." >> "${run_cropper_result}";