1.1 list轉numpy. ndarray = np.array(list). 1.2 numpy 轉list. list = ndarray.tolist(). 2.1 list 轉torch.Tensor. tensor = torch.Tensor(list).
確定! 回上一頁