[Do not merge] Fix global gradient clip by Yu Yang (#13516)
[Do not merge] Fix global gradient clip by Yu Yang (#13516)

* Yuyang fix global gradient clip

* Share LoDs

* Revert unnecessary changes

* Fix bug in sequence_slice_op

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