Data_loader for C++ frontend

I followed the cpp frontend tutorial 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 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?

1 Like

Thanks for reporting. The function was indeed renamed make_data_loader. I will update the example in frontend.html.

1 Like