Created by: yongqiangma
1.check input x data type, it should be Variable. 2.check input level data type, it should be int32 or int64.