Created by: sfraczek
the same as https://github.com/PaddlePaddle/Paddle/pull/14159 but for transpiler