Fork自 PaddlePaddle / Paddle
* the tensor only contains shape and does not hold memory when inferring shape.