提交 799f80ad 编写于 作者: T tensor-tang

remove useless code

上级 abfd9fdd
...@@ -9,11 +9,9 @@ function train() { ...@@ -9,11 +9,9 @@ function train() {
bs=$2 bs=$2
use_mkldnn=$3 use_mkldnn=$3
if [ $3 == "True" ]; then if [ $3 == "True" ]; then
use_mkldnn=$3
thread=1 thread=1
log="logs/${topology}-mkldnn-${bs}.log" log="logs/${topology}-mkldnn-${bs}.log"
elif [ $3 == "False" ]; then elif [ $3 == "False" ]; then
use_mkldnn=$3
thread=`nproc` thread=`nproc`
log="logs/${topology}-${thread}mklml-${bs}.log" log="logs/${topology}-${thread}mklml-${bs}.log"
else else
...@@ -39,8 +37,7 @@ if [ ! -d "logs" ]; then ...@@ -39,8 +37,7 @@ if [ ! -d "logs" ]; then
mkdir logs mkdir logs
fi fi
#========= mkldnn =========# #========== mkldnn ==========#
# vgg
train vgg 64 True train vgg 64 True
train vgg 128 True train vgg 128 True
train vgg 256 True train vgg 256 True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册