y = y.long() does the job. There are similar methods for other data types, such as int , char , float and byte .
確定! 回上一頁