Fork自 PaddlePaddle / Paddle
* fix backward bug * format code style * add test case for grad tensor accumulator