Good evening,
I am trying to switch fron 0.4.1 to 1.0 which means transforming my old C torch code into C++.
I am trying to use a Tensor created in python in cpp and then cuda using the at::Tensor and transforming it into a float * or int * 1D array. It perfectly worked in C doing

THFloatTensor_data(points)

and it was modifying the array such that I could use the new values in python. However in C++ I don’t know if doing :

points.data()

is the way to go as my code is compiling but the values inside the array are not changed for python.
Any idea ?
I have not compilation error what so ever  and the code runs without error but again the Tensor I give to the C++ function in python is not modified as it was in C.