Hi,
I’m new in Pytorch and I would like to know how to convert an existing tensor into an int array.
I tried to do:
temp_arr = temp_tensor.data< int>();
when “temp_arr” is an (int *), and “temp_tensor” type is int, but i keep getting run time error.
Thank you very much!