When convert a torch::Tensor to std::vector, i got the problem Process finished with exit code 139 (interrupted by signal 11: SIGSEGV).
This is my convert code:
std::vector<double> conv_w(conv_weight.data_ptr<double>(),conv_weight.data_ptr<double>() + conv_weight.numel());