Solved by albanD in post #2 
              
              
                Hi, 
I am afraid this blogpost is outdated and the binding with C has vastly changed. The bindings are now under the ATen library so that it generated a cleaner cpp interface for all tensor types. 
Also the Tensor and Variable merge has been done down to the cpp level and so there are limited access…