Created by: will-am
resolve #558 (closed)
depends on https://github.com/PaddlePaddle/Paddle/pull/7188