Created by: bingyanghuang
Following: https://github.com/PaddlePaddle/Paddle/pull/21028#issuecomment-550180950