I followed the cpp frontend tutorial https://pytorch.org/cppdocs/frontend.html but when I try to call torch::data::data_loader
, the compiler complained about no data_loader
is in torch::data
.
After some googling, I found this PR https://github.com/pytorch/pytorch/pull/11918/files is trying to add this but was closed. And in the source code of PyTorch, I found there is a make_data_loader
function, but not sure if it’s the right thing.
So, is there a data loader for C++ frontend by now?