Fork自 PaddlePaddle / Paddle
* fix flatten infershape; test=develop * fix flatten infershape; test=develop