Fork自 PaddlePaddle / Paddle
* Make topk op support variable k. test=develop * Fix tensor type. test=develop