Remove Data Sharing between input and output in scatter_op (#12672)
Remove Data Sharing between input and output in scatter_op (#12672)

* Remove Data Sharing between input and output in scatter_op

* Removed data sharing in backward op

luotao1/Paddle,chengduoZH/Paddle,baidu/Paddle,PaddlePaddle/Paddle,reyoung/Paddle,reyoung/Paddle,baidu/Paddle,chengduoZH/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,reyoung/Paddle,luotao1/Paddle,QiJune/Paddle,reyoung/Paddle,baidu/Paddle,tensor-tang/Paddle,chengduoZH/Paddle,reyoung/Paddle,baidu/Paddle,luotao1/Paddle,reyoung/Paddle,luotao1/Paddle,tensor-tang/Paddle,tensor-tang/Paddle,luotao1/Paddle,chengduoZH/Paddle,tensor-tang/Paddle,tensor-tang/Paddle,QiJune/Paddle,baidu/Paddle,QiJune/Paddle,PaddlePaddle/Paddle,chengduoZH/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,QiJune/Paddle