Hi,
I am afraid this blogpost is outdated and the binding with C has vastly changed. The bindings are now under the ATen 3 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 to the tensor types directly as well.