I suspect this will be rather slow since it cannot make use of doing things in parallel. I don’t know how to setup torch in c++ so can someone comment on if this could be a good solution before I start to walk down that road.