torch.autograd.Variable seems to be deprecated but still included in the lib. Are most deprecated things going to be removed at some point?

I was wondering if things that show up in pytorch as deprecated or duplicates are going to be removed at some point in order to have a cleaner and more consistent interface?


Yes they are. But because Variable what so widely used by the users, we are leaving it for now.
It is only a no-op that gives you a Tensor right now.

But for deprecation:

  • We just removed old style autograd.Function code: they will be actual errors in 1.5
  • We are removing .data internally to prepare for adding warning and deleting it (or making it a no-op like Variable is right now)