Thanks,when i tried the example c++ program like
 #include <torch/torch.h>
 #include
 int main() {
torch::Tensor tensor = torch::rand({ 2, 3 });
 std::cout << tensor << std::endl;
 return 0;
 }

,it’s all right,but still same wrong with load the .pt file.