Fork自 PaddlePaddle / Paddle
* clean code of dim and place, test=develop * fix failed unittests, test=develop