Fork自 PaddlePaddle / Paddle
* updates the pten allocation, test=develop * avoids an error message, test=develop