import torch import numpy as npx = np.arange(6).reshape((3,2)) print(x)y = torch.from_numpy(x) print(y)z = y.numpy() print(z).
確定! 回上一頁