Results 4 comments of Scott Schneider

pybind11 exposes a [`py::tuple`](https://pybind11.readthedocs.io/en/stable/reference.html#_CPPv45tuple) type on the C++ side, so this should probably be trivial for us to support in the same way we do for lists. I'll investigate.

Thanks for the work, @daviswer! Some first-level comments: 1. Let's create some unit tests based on the example demo. I think it makes sense for them to live in `test/stateful_dataloader`....

@yoyolicoris, @christhetree, thanks for taking the time to reply. I understand that removing C++ implementations may be a performance regression for those components. I would like to further explain the...

@pytorchmergebot rebase