Hi,
I found very hard to inspect a tensor (sizes, dim and data) through the watcher of the Visual Studio IDE. I can read the data with the following line (the tensor variable is myTensor
with numel() == 200):
((float *)myTensor.impl_.target_->storage_.storage_impl_.target_->data_ptr_.ptr_.data_),200
but I found no way to watch the sizes, for example. If I try to print the sizes through the immediate window, I obtain the message (although I’m in debug configuration):
Function at::Tensor::sizes has no address, possibly due to compiler optimizations.
This is really too frustrating. Any solution to this?
Thanks in advance.