I tried to use the C++ example from the docs but when I run the build I get the error that torch::data does not exist. Any help on this? I could not find docs on using the dataloader serializer for C++
Thanks for the report.
It turns out that the PR adding support for
torch::data hasn’t been merged yet, see https://github.com/pytorch/pytorch/pull/11918
I’ll let Peter (the author of C++ extensions) know so that he can update / merge the code.