Zapisz tensor pochodni
x = torch.tensor([0, 1, 2, 3, 4])
torch.save(x, 'tensor.pt')
Alexandre Abela
x = torch.tensor([0, 1, 2, 3, 4])
torch.save(x, 'tensor.pt')