Hello every one,
I’m trying to compare a torch::Tensors sizes agains something else, but it seems I’m doing it wrong!
I tried
    auto t = torch::ones({ 3,3 }).sizes();
    std::cout << c10::IntArrayRef{ 3,3 } << std::endl;
    std::cout << (t.equals(c10::IntArrayRef{ 3,3 })) << std::endl;

which always returns false!
I also tried
t == c10::IntArrayRef{ 3,3 };

which also returns false!
Whats wrong here?