Im programming with torchlib and I create a small tensor on cpu, not pinned. When I call is_pinned I get an exception if Im in Debug mode, but not in Release. I use torchlib (windows) version 1.6.
Has anyone else seen this problem?
// The code:
auto v = torch::zeros({2, 2})
v.is_pinned();