Solved by albanD in post #9 
              
              
                Sorry maybe my statement was unclear. 
When you will call Name.apply(input), depending on which version of pytorch you’re currently running (this behaviour changed in the latest releases), you’ll get either Tensor or Variable (that depends on the pytorch version, not what you do).