Fork自 PaddlePaddle / Paddle
* fix bug of varbase.__getitem__, test=develop (#24642) * fix bug of varbase.__getitem__, test=develop * fix bug of float and other type, test=develop * fix unittest, test=develop