I am trying to use ATen library for creating a C++ extension for pytorch. I want to know how to access the data for a Tensor X. Like in pytorch, we can get the values by X.data, how to do this in c++?
I guess this page will help. Basic tensor manipulation in C++