fix compiler error on `tensor_py.h`
fix compiler error on `tensor_py.h`

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