Fork自 PaddlePaddle / Paddle
consider the situation that shape of input can contain more than one -1. test=develop