I am reading the PyTorch Internals Part I, and I find there is not any Tensor.cpp in the directory csrc/generic
any more.
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 to the tensor types directly as well.
1 Like