第1关:Variable 本关提供了一个张量变量tensor ,根据所给的张量创建 Variable 变量v,同时要求同学们掌握 Variable 的相关属性,例如如何获得 Variable 的 data 属性。 import torch from torch.autograd import Variable tensor = torch.FloatTensor([[1,4,