I use other function in libtorch runs correctly, but when I use cat or stack , it reports debug error, abort has been called.
auto b = torch::ones({ 3,4 });
auto c = torch::zeros({ 3,4 });
auto stack = torch::stack({ b,c }, 1);
auto cat = torch::cat({ b,c }, 1);
cout << b << c << cat << stack;
Thanks, I found this bug in version:libtorch-win-shared-with-deps-debug-1.12.1+cpu;Now I try torch::cat or stack in version:libtorch-win-shared-with-deps-debug-1.8.2+cpu, it runs well.