Do we need to use the Dataset class?
Well, we are able to run deep learning models  without  the  Dataset  class; but loading a dataset is generally memory-intensive — so it’s highly recommended to use the  Dataset  class.