Fork自 PaddlePaddle / Paddle
* Implement InferShape and register them, give a stub Kernel method by LOG(INFO)
1. Refactor DDim's product() to make it more efficiently. 2. Add slice_ddim().