Fix MacOS compile error
Fix MacOS compile error

The private data `tensor_shared_` is not used.

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