Fix the check in addto_layer
Fix the check in addto_layer

jacquesqiao/Paddle,luotao1/Paddle,tensor-tang/Paddle,reyoung/Paddle,pkuyym/Paddle,QiJune/Paddle,lcy-seso/Paddle,reyoung/Paddle,Canpio/Paddle,chengduoZH/Paddle,luotao1/Paddle,QiJune/Paddle,lcy-seso/Paddle,pkuyym/Paddle,baidu/Paddle,pkuyym/Paddle,tensor-tang/Paddle,reyoung/Paddle,Canpio/Paddle,putcn/Paddle,jacquesqiao/Paddle,tensor-tang/Paddle,jacquesqiao/Paddle,baidu/Paddle,pkuyym/Paddle,putcn/Paddle,Canpio/Paddle,jacquesqiao/Paddle,lcy-seso/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,Canpio/Paddle,pkuyym/Paddle,reyoung/Paddle,putcn/Paddle,Canpio/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,jacquesqiao/Paddle,luotao1/Paddle,jacquesqiao/Paddle,luotao1/Paddle,putcn/Paddle,PaddlePaddle/Paddle,Canpio/Paddle,PaddlePaddle/Paddle,Canpio/Paddle,chengduoZH/Paddle,chengduoZH/Paddle,chengduoZH/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,QiJune/Paddle,lcy-seso/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,Canpio/Paddle,luotao1/Paddle,lcy-seso/Paddle,putcn/Paddle,baidu/Paddle,chengduoZH/Paddle,putcn/Paddle,pkuyym/Paddle,PaddlePaddle/Paddle,reyoung/Paddle,tensor-tang/Paddle,baidu/Paddle,tensor-tang/Paddle,lcy-seso/Paddle,baidu/Paddle,reyoung/Paddle,QiJune/Paddle