import torch import numpy as np numpy_tensor = np.random.randn(10, ... weights w = Variable(torch.randn(20, 5), requires_grad=True) # get variable tensor ...
確定! 回上一頁