1、循环表达式1
for i in "cl_acl2014" "cl_res2014" "cl_laptop2014" "cl_res2015" "cl_res2016" "cl_mams"
do
$i
done
输出
cl_acl2014
cl_res2014
cl_laptop2014
cl_res2015
cl_res2016
cl_mams
2、循环表达式2
for i in $( seq 1200 1300 )
do
${i}
done
输出
1200
1201
...
1300
3、辅助项
CUDA_VISIBLE_DEVICES=0
控制cuda卡号
网友评论