Fork自 PaddlePaddle / PaddleDetection
* 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