How should I be converting between OpenCVs Mat into libtorch Tensor? so that I can feed it to my modules ?
The modules are converted from Pytorch(python) so I’m not sure if they should be in torch::Tensor or torch::jit::IValue !
So any help is greatly appreciated