Created by: wangchaochaohu
Bug fixes
OPs
cherry-pick https://github.com/PaddlePaddle/Paddle/pull/2708