Crash when using tensor.set_data() function in libtorch on windows #21899
Labels
module: cpp
Related to C++ API
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
❓ Questions and Help
When i use the the set_data function in libtorch as following, the exe will be crashed!
at:: Tensor a = torch::ones({3});
at::Tensor b = torch:: zeros({3});
a.set_data(b)
....
? do anyone know what's going on?
Thanks
Please note that this issue tracker is not a help form and this issue will be closed.
We have a set of listed resources available on the website. Our primary means of support is our discussion forum:
The text was updated successfully, but these errors were encountered: