From 799f80ad33f19cffecfb0919da3a6b9fd297a1d4 Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Mon, 25 Sep 2017 16:11:04 +0800 Subject: [PATCH] remove useless code --- benchmark/paddle/image/run_mkldnn.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/benchmark/paddle/image/run_mkldnn.sh b/benchmark/paddle/image/run_mkldnn.sh index 5b0a03734..b6cd6fe03 100755 --- a/benchmark/paddle/image/run_mkldnn.sh +++ b/benchmark/paddle/image/run_mkldnn.sh @@ -9,11 +9,9 @@ function train() { bs=$2 use_mkldnn=$3 if [ $3 == "True" ]; then - use_mkldnn=$3 thread=1 log="logs/${topology}-mkldnn-${bs}.log" elif [ $3 == "False" ]; then - use_mkldnn=$3 thread=`nproc` log="logs/${topology}-${thread}mklml-${bs}.log" else @@ -39,8 +37,7 @@ if [ ! -d "logs" ]; then mkdir logs fi -#========= mkldnn =========# -# vgg +#========== mkldnn ==========# train vgg 64 True train vgg 128 True train vgg 256 True -- GitLab