dataset • torch
https://mlverse.github.io/torch/articles/examples/dataset.html# In torch we use the `datasets` abstraction to define the process of # loading data. Once you have defined your dataset you can use torch # dataloaders that allows you to iterate over this dataset in batches. # Note that datasets are optional in torch. They are jut there as a # recommended way to load data.