print type(d1); d2 = d1.item() #转成python数字; print d2; print type(d2). 返回:. (deeplearning2) userdeMBP:pytorch user$ python test.py
確定! 回上一頁