Fork自 PaddlePaddle / Paddle
* fix a bug in reset_tensor_array, test=develop * ci coverage, test=develop