Fork自 PaddlePaddle / Paddle
* Add intermediate * fix flatten/squeeze/unsqueeze * Considering compatibility issues, we could not fix the origin op * follow comment * reset the shape of XShape
* add flatten op