You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a = torch.FloatTensor(5)
a.index(3)
The above code is running right in pytorch-0.3, but is wrong in pytorch-0.4,
TyreError: index(): argument "indices" (position 1) must be tuple of Tensors, not int.